[Bug 6047] New: Interactive commit does not work as expected with copied files

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sat Jan 5 07:52:00 UTC 2019


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

            Bug ID: 6047
           Summary: Interactive commit does not work as expected with
                    copied files
           Product: Mercurial
           Version: 4.8.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: zash at zash.se
                CC: mercurial-devel at mercurial-scm.org

$ seq 1 10 > numbers.txt
$ hg add numbers.txt
$ hg ci -m whatever
$ hg cp numbers.txt more-numbers.txt
$ seq 11 20 >> more-numbers.txt
$ hg ci -i

pick some of the added lines, not all

$ hg stat
$ hg exp

expect:
patch with the previously selected lines

actual:
all the lines were added

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


More information about the Mercurial-devel mailing list