ANN: edit_message plugin

Aaron Bentley aaron.bentley at utoronto.ca
Wed Jan 25 14:19:55 GMT 2006


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

DOING THIS IS A MODEL VIOLATION.  YOU ARE LIKELY TO BREAK BZR.

The revision id refers to all the metadata, including the commit
message.  If you do this, you MUST change the revision id of the
revision you alter, and change the revision ids of all its descendants,
AT MINIMUM.

Aaron


Alexander Belchenko wrote:
> I'm probably not the most accurate person, and sometimes I commit
> revision with message that consist small typo or syntax error.
> Periodically I wish to have ability to easy re-edit those commited
> messages. Finally I wrote this: edit_message plugin.
> 
> This plugin provide hidden command `edit-message` that can invoke
> external editor and let you chance to edit commit message of some
> revision. After editing it ask you (are you sure?) and rewrite
> particular revision store file with updated message in xml file. Other
> revision attributes and properties leaves unchanged.
> 
> Plugin was written based on examples how it realised in bzrlib itself
> for log and commit operations. But I'm slightly don't understand yet gpg
> signing operations so I was not implement this. Probably the best
> solution is: don't touching signed revisons at all. Probably I should
> explicitly check to signing and prevent to edit those revisions. Any
> thoughts?
> 
> 
> URLs:
> 
> http://bzr.onembedding.com/bzr.win/plugins/edit_message/edit_message.zip
> 
> bzr branch http://bzr.onembedding.com/bzr.win/plugins/edit_message/
> 
> -- 
> Alexander
> 

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

iD8DBQFD14kL0F+nu1YWqI0RAsaCAJ4tK5neJofKBEtiZxlr95EWwLXCFgCff5Zs
rpZd1yuQMaDg4sC77gYVuOs=
=6/v3
-----END PGP SIGNATURE-----




More information about the bazaar mailing list