tests/test-mq-strip.t
changeset 12767 c3316b6a3219
parent 12682 58a3e2608ae4
child 13572 1bb2a56a9d73
--- a/tests/test-mq-strip.t	Sat Oct 16 18:09:47 2010 -0500
+++ b/tests/test-mq-strip.t	Mon Oct 18 18:31:38 2010 -0200
@@ -257,7 +257,7 @@
 
 2 is parent of 3, only one strip should happen
 
-  $ hg strip 2 3
+  $ hg strip "roots(2)" 3
   saved backup bundle to $TESTTMP/test/.hg/strip-backup/*-backup.hg (glob)
   $ hg glog
   @  changeset:   2:264128213d29
@@ -333,11 +333,16 @@
 
 2 different branches and a common ancestor: 1 strip
 
-  $ hg strip 1 2 4
+  $ hg strip 1 "2|4"
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   saved backup bundle to $TESTTMP/test/.hg/strip-backup/*-backup.hg (glob)
   $ restore
 
+stripping an empty revset
+
+  $ hg strip "1 and not 1"
+  abort: empty revision set
+  [255]
 
 remove branchy history for qimport tests