RFC: Possibility to re-edit last commit message

Michael Ellerman michael at ellerman.id.au
Sun Jan 28 22:51:56 GMT 2007


On 1/29/07, Jari Aalto <jari.aalto at cante.net> wrote:
>
> It happens that when the message is committed, it wasn't quite the way
> it supposed to be:
>
>     * formatting
>     * grammar
>     * typos
>     * missing information
>     * something come up, that fot to be mentioned
>
> In case of local branches (not checked out one), it would be nice if the
> message could be re-edited
>
>     bzr ci --re-edit
>
> And that would bring up the editor just like last time. After exiting
> the editor, that message would be updated (no files updated)

But if someone has pulled the branch in the meantime, and you change
the message without creating a new commit, you're in a world of pain.
So just uncommit, edit the message and recommit. It might be nice to
have a plugin that does it for you though.

cheers



More information about the bazaar mailing list