Fix a botched log-message
Alexander Belchenko
bialix at ukr.net
Tue Apr 1 08:31:29 BST 2008
Matt Nordhoff пишет:
> Stefan Monnier wrote:
>> How can I fix a log-message in some old revision?
>> (like "cvs admin -m<rev>:<msg>")
>
> You can't. History is immutable.
>
> If it's the most recent revision, you can "bzr uncommit" it and then
> commit it again with the message fixed.
Theoretically you can branch from the point where your commit message is incorrect,
uncommit, commit again with "right" log message, and then try to use rebase plugin
to graft remaining tail of your old history from original branch on top of your
new commit. But I'm not sure if rebase plugin will allow such trick.
More information about the bazaar
mailing list