History editing (Was: Will re-basing support be added into Bazaar core?)

Aaron Bentley aaron at aaronbentley.com
Mon Apr 20 15:02:39 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian Clatworthy wrote:
> If you choose to collapse history to hide things prior to review, that's
> your choice. It's damn easy to do too. Just use diff to create a patch,
> create a fresh branch, apply your patch to it, commit and bzr send.

Even better, don't create a patch, just do "bzr merge" and then "bzr
revert --forget-merges".  That will give you proper support for renames,
execute bit changes, etc.

> There's nothing wrong with wanting to clean history before publishing
> a submission.

Personally, as someone accepting a submission, I prefer a dirty history.
 A dirty history will have all of the incremental commit messages so
that people can use gannotate later and get a better understanding of
why a change was done.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknsgHcACgkQ0F+nu1YWqI1k6gCeNO/AVk+mjoyQa2YtzHMQR9jZ
2HUAniL56Z8+xhAT8Uz5aqR6dZhTNxin
=0W40
-----END PGP SIGNATURE-----



More information about the bazaar mailing list