[Bug 4497] New: Reverting "set:added()" reverts other files as well

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jan 12 08:15:07 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4497

          Priority: normal
            Bug ID: 4497
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Reverting "set:added()" reverts other files as well
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: mathias.demare at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: default branch
         Component: Mercurial
           Product: Mercurial

The following combination of commands results in reverting first, undeleting
second and forgetting third:

hg init repo
cd repo
touch first
touch second
hg add
hg commit -m addedfiles

echo blah > first
rm second
touch third
hg addremove
hg revert "set:added()"


Reverting "set:removed()" and "set:modified()" works fine.
I am getting this on '@' (678f53865c68) and on 3.2.2.

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


More information about the Mercurial-devel mailing list