[Bug 4576] New: hg revert --interactive is broken on local modification
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed Mar 25 16:51:18 UTC 2015
http://bz.selenic.com/show_bug.cgi?id=4576
Priority: normal
Bug ID: 4576
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: hg revert --interactive is broken on local
modification
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: pierre-yves.david at ens-lyon.org
Hardware: All
Status: UNCONFIRMED
Version: default branch
Component: Mercurial
Product: Mercurial
The patch-to-test below display that revert interactive on local modification
is broken. This happen because me "move" the local file away during the backup
process (as it is to be replace by a new checked out version when --interactive
is not used)
--- /home/pyd/src/mercurial-dev/tests/test-revert-interactive.t
+++ /home/pyd/src/mercurial-dev/tests/test-revert-interactive.t.err
@@ -207,4 +207,9 @@
f
$ hg st
+ M f
+ M folder1/g
+ R folder1/i
$ hg revert --interactive f
+ abort: No such file or directory: '$TESTTMP/a/f'
+ [255]
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list