[Bug 6539] New: possible dirstate corruption combining commit and revert -ri

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Jul 16 11:27:21 UTC 2021


https://bz.mercurial-scm.org/show_bug.cgi?id=6539

            Bug ID: 6539
           Summary: possible dirstate corruption combining commit and
                    revert -ri
           Product: Mercurial
           Version: 5.7.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: pierre-yves.david at ens-lyon.org
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

I am seeing weird behavior when doing this

1) start a commit
2) start a revert -ir FOO FILE (so it is waiting on lock)
3) complete de commit
4) revert is confused about the dirstate parent
5) `quit` the revert (aborting it

FILE is marked as ADDED in the dirstate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list