Comment 3 for bug 32054

Revision history for this message
Michael Ellerman (michael-ellerman) wrote : Re: [Bug 32054] if commit fails commit message draft is lost

I'd suggest:

# bzr commit
<editor starts, _long_ message gets typed in>
Error: Something is wrong!
# fix something
# bzr commit
<editor starts, message is populated with message from previous attempt>

# bzr commit -m "foo bar"
Error: Something is wrong!
# bzr commit
<editor starts, message is populated with message from previous attempt>

OR

# bzr commit --last-message
<commit with message from previous attempt>

Not sure about "--last-message" though.