RFC: Possibility to re-edit last commit message

Aaron Bentley aaron.bentley at utoronto.ca
Mon Jan 29 16:08:25 GMT 2007


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

John Arbash Meinel wrote:
> I always thought of this as a "bzr recommit" command.

> Definitely, I wouldn't want one that just rewrote the revision entry's
> message field. It would need to create a new commit.

I think "bzr recommit" may not indicate clearly enough that recommitting
removes the last-revision.

One way to prevent this from becoming problematic would be to mark the
last-revision as a merge, because tools would be able to treat the new
last-revision as effectively equal to the old last-revision.

The downside is that marking it as a merge would make the old, undesired
log message appear in long-format logs, which probably defeats the purpose.

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

iD8DBQFFvhv50F+nu1YWqI0RAp2OAJ9R9F0flyFh7MbPOcp6MiddWuPGHgCfUw3+
Laxe4KxOEgJii/0pvXcgzYI=
=aC+R
-----END PGP SIGNATURE-----



More information about the bazaar mailing list