[Bug 5662] New: file copied onto existing file becomes just modified on commit

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu Aug 17 15:32:47 UTC 2017


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

            Bug ID: 5662
           Summary: file copied onto existing file becomes just modified
                    on commit
           Product: Mercurial
           Version: 4.3-rc
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: martinvonz at google.com
                CC: mercurial-devel at mercurial-scm.org

$ echo a > a
$ echo b > b
$ hg ci -Am initial
$ hg cp -f a b
$ hg st -C
M b
  a
$ hg ci -m 'copy a onto b'
$ hg st -C --change .
M b

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


More information about the Mercurial-devel mailing list