diff tests/test-mq.out @ 11064:590b1d6ef50b

mq: qpush --move, reorder patch series and apply only the patch This makes it less necessary to edit .hg/patches/series manually.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 30 Apr 2010 15:05:51 +0200
parents c7dbd6c4877a
children 37d1b20168d1
line wrap: on
line diff
--- a/tests/test-mq.out	Mon Apr 19 17:41:12 2010 +0900
+++ b/tests/test-mq.out	Fri Apr 30 15:05:51 2010 +0200
@@ -193,6 +193,32 @@
 applying test1b.patch
 applying test2.patch
 now at: test2.patch
+% qpush --move
+popping test2.patch
+popping test1b.patch
+popping test.patch
+patch queue now empty
+applying test2.patch
+now at: test2.patch
+applying test1b.patch
+now at: test1b.patch
+applying test.patch
+now at: test.patch
+0 A test2.patch
+1 A test1b.patch
+2 A test.patch
+popping test.patch
+popping test1b.patch
+popping test2.patch
+patch queue now empty
+applying test.patch
+now at: test.patch
+applying test1b.patch
+now at: test1b.patch
+abort: patch bogus not in series
+abort: cannot push to a previous patch: test.patch
+applying test2.patch
+now at: test2.patch
 % pop, qapplied, qunapplied
 0 A test.patch
 1 A test1b.patch