[Bug 5845] New: hg ci -i is completely broken

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu Apr 19 04:20:27 UTC 2018


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

            Bug ID: 5845
           Summary: hg ci -i is completely broken
           Product: Mercurial
           Version: 4.6rc0
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: av6 at dwimlabs.net
                CC: mercurial-devel at mercurial-scm.org

STR:

# optional
$ export HGRCPATH=/dev/null
$ export HGPLAIN=1

$ hg init testrepo && cd testrepo
$ echo 'Hello World.' > foo.txt
$ hg ci -Am0 -u test
$ sed -i 's@\.@!@' foo.txt

$ hg ci -i -u test
diff --git a/foo.txt b/foo.txt
1 hunks, 1 lines changed
examine changes to 'foo.txt'? [Ynesfdaq?] y

@@ -1,1 +1,1 @@
-Hello World.
+Hello World!
record this change to 'foo.txt'? [Ynesfdaq?] y

patching file foo.txt
Hunk #1 FAILED at 0
1 out of 1 hunks FAILED -- saving rejects to file foo.txt.rej
abort: patch failed to apply

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


More information about the Mercurial-devel mailing list