[Bug 5337] New: "hg revert -i" can not revert part of hunk
bugzilla at mercurial-scm.org
bugzilla at mercurial-scm.org
Sat Aug 20 05:14:33 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5337
Bug ID: 5337
Summary: "hg revert -i" can not revert part of hunk
Product: Mercurial
Version: 3.9
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: record
Assignee: bugzilla at selenic.com
Reporter: martinvonz at google.com
CC: mercurial-devel at selenic.com
Commit and empty file, add two lines to it, then try to revert one of the added
lines using "hg revert -i". Both lines will be reverted. Note that "hg commit
-i" can add correctly add either of the lines.
This shows the bug:
hg init
touch f
hg add f
hg ci -m empty
printf 'a\nb\n' > f
hg ci -i
Select one of the lines and confirm. Both will be reverted.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list