[issue1719] mq: qpush leaves local changes if patch contains new or deleted file
a7x
mercurial-bugs at selenic.com
Wed Jul 1 21:40:06 UTC 2009
New submission from a7x <hg-a7x at scientician.org>:
$ hg init t
$ cd t
$ echo content > file
$ hg add file
$ hg qnew -f test.patch
$ hg status
$ cat .hg/patches/test.patch
diff --git a/file b/file
new file mode 100644
--- /dev/null
+++ b/file
@@ -0,0 +1,1 @@
+content
$ hg qapplied
test.patch
$ hg qpop
patch queue now empty
$ hg status
$ hg qpush
applying test.patch
now at: test.patch
$ hg status
A file
$ cat .hg/patches/test.patch
diff --git a/file b/file
new file mode 100644
--- /dev/null
+++ b/file
@@ -0,0 +1,1 @@
+content
$ hg qrefresh
$ hg status
$ cat .hg/patches/test.patch
diff --git a/file b/file
new file mode 100644
--- /dev/null
+++ b/file
@@ -0,0 +1,1 @@
+content
----------
messages: 9841
nosy: a7x
priority: bug
status: unread
title: mq: qpush leaves local changes if patch contains new or deleted file
topic: mq
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1719>
____________________________________________________
More information about the Mercurial-devel
mailing list