[issue752] qpush doesn't insure patch does not affect unknown files
Chad Skeeters
mercurial-bugs at selenic.com
Thu Sep 27 23:37:25 CDT 2007
New submission from Chad Skeeters <goobsoft at yahoo.com>:
If a patch affects an unknown file a and it is qimported, qpushed, and qpoped, a
will be deleted. Below are the commands to reproduce.
mkdir tmp1
mkdir tmp2
echo hi >> tmp1/foo
echo h2 >> tmp2/foo
diff -uNr tmp1 tmp2 > unified.patch
cd tmp1
hg init
hg qinit
hg qimport ../unified.patch
hg qpush
hg qpop
ls -l foo
#ls: foo: No such file or directory <- bad
----------
messages: 4042
nosy: goobsoft
priority: bug
status: unread
title: qpush doesn't insure patch does not affect unknown files
topic: mq
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue752>
____________________________________________________
More information about the Mercurial-devel
mailing list