BUG: If commit fails commit message is lost

Alexander Belchenko bialix at ukr.net
Mon Feb 20 01:33:49 GMT 2006


Martin Pool пишет:
> On Sat, 2006-02-18 at 23:26 +0200, Alexander Belchenko wrote:
> 
>>If working tree have conflicts or another reasons that leads to fail of 
>>commit then commit message did not stored and lost. I think bzr should 
>>store commit message (at least from external editor and maybe from 
>>command line with -m option) in the text file in the root of tree (or in 
>>./bzr/commit.log file?) for later commit.
> 
> 
> Yes, I agree it's a bug
> 
>   https://launchpad.net/malone/bugs/32054 
> 
> I wonder if that should be the default message for future commits or if
> you should need to give it with -F?

I think it's OK to have info message after failing of commit, something 
like this (AFAIK like svn does):

Commit fails.
Your commit message stored in file path/to/file.
You can use this file for later commit.


(Please, excuse if there is english grammar errors above).

And user should use this file (if he want) with -F option in commit command.

--
Alexander





More information about the bazaar mailing list