[Bug 3479] New: mq does not write .rej file on missing renames/metadata
bugzilla-daemon at bz.selenic.com
bugzilla-daemon at bz.selenic.com
Fri Jun 1 03:46:09 CDT 2012
http://bz.selenic.com/show_bug.cgi?id=3479
Priority: normal
Bug ID: 3479
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: mq does not write .rej file on missing
renames/metadata
Severity: bug
Classification: Unclassified
OS: All
Reporter: patrick at mezard.eu
Hardware: All
Status: UNCONFIRMED
Version: unspecified
Component: mq
Product: Mercurial
When qpush tries to rename a file no longer there, the call aborts and the
rename is not left as a reject file.
$ echo "[extensions]" >> $HGRCPATH
$ echo "mq=" >> $HGRCPATH
$ hg init repo
$ cd repo
$ echo a > a
$ echo b > b
$ hg ci -Am addfiles
adding a
adding b
$ echo b >> b
$ hg mv a c
$ hg qnew movea
$ hg qpop
popping movea
patch queue now empty
$ hg rm a
$ hg ci -m rma
$ hg qpush -v
applying movea
[Errno 2] No such file or directory: '$TESTTMP/repo/a'
patch failed, rejects left in working dir
errors during apply, please fix and refresh movea
[2]
$ ls
b
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list