Comment 1 for bug 530265

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 530265] [NEW] Not modifying a suggested commit message commits anyway

On Mon, 2010-03-01 at 19:50 +0000, James Westby wrote:

> Normally I can do this by exiting without saving, or saving and closing my editor without
> writing anything.
>
> However, when the commit has been seeded, neither of these works, the only way to do
> it is to delete all the text in the file, then save that and exit. Doing anything else results in
> the commit happening anyway, so I have to uncommit (and sometimes don't notice until later)
>
> Jelmer's suggestion was to have bzr prompt if the commit message is unchanged from the
> seeded one.

That won't work well if bzr can't prompt (it can run EDITOR under e.g. X
even if bzr has no stdin).

Perhaps having a line
**** DELETE THIS LINE to use the suggested commit message ****

?

-Rob