Possible bug with hg commit.

Faheem Mitha faheem at email.unc.edu
Mon Jul 31 03:31:07 UTC 2006


On Sun, 30 Jul 2006 23:21:13 -0400 (EDT), Faheem Mitha
<faheem at email.unc.edu> wrote:

> Hi everyone.

> I think I have run across a bug in hg. If I edit a file while it is
> under "hg ci", I get various inconsistencies. I can try to work up a
> recipe if necessary, but should be easily reproducible.

> Just create a file foo, add some stuff to it and commit. Then make
> another change, and do hg ci. Then while hg ci is in editor mode
> waiting for a commit message, edit foo.

Um, just to be clear, commit after editing foo without exiting the
editor.

> The resulting state of foo in the working copy is not the same as
> what the repos thinks it is, but hg diff is empty.  Don't think this
> has been reported, but could be wrong. With the recently released
> 0.9.1.

                                                              Faheem.




More information about the Mercurial mailing list