[Bug 4897] New: rename info isn't registered properly during commit

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Oct 9 21:58:16 UTC 2015


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

            Bug ID: 4897
           Summary: rename info isn't registered properly during commit
           Product: Mercurial
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: cecileb at fb.com
                CC: mercurial-devel at selenic.com

Example:

  $ echo 'foo' > a.txt
  $ echo 'foo' > b.txt
  $ hg add a.txt
  $ hg add b.txt
  $ hg commit -m "Add files"
  $ hg mv b.txt c.txt
  $ hg mv a.txt b.txt
  $ hg status -C
  M b.txt
    a.txt
  A c.txt
    b.txt
  R a.txt
  $ hg commit -m "Move files"
  $ hg status -C --change .
  M b.txt
  A c.txt
    b.txt
  R a.txt

b.txt was copied to c.txt
a.txt was copied to b.txt
The fact that b.txt was copied from a.txt disappears after the commit.

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


More information about the Mercurial-devel mailing list