Comment 7 for bug 215674

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 215674] Re: uncommit needs an option for saving commit messages

Martin Pool пишет:
> I think Alexander is suggesting that it be called "uncommit -o FILE" --
> just a change in the option name.
>
> I think the pending commit message draft should be kept in the
> WorkingTree object, and maybe actually written to disk into
> .bzr/checkout/draft. You can have wt methods to get and set the draft.
> I think any cancelled commit should update it, as should gcommit if you
> quit before committing. And anytime you start an interactive commit it
> should be loaded into the editor.

Actually I think it should be much complex, because you can uncommit more than
one revision.