tests/test-rebase-bookmarks.t
changeset 19641 5528c31c629c
parent 18935 e5d9441ec281
child 19925 9c78ed396075
--- a/tests/test-rebase-bookmarks.t	Thu Jul 25 22:28:34 2013 -0500
+++ b/tests/test-rebase-bookmarks.t	Tue Sep 03 15:12:35 2013 -0400
@@ -159,4 +159,18 @@
   o  0: 'A' bookmarks:
   
 
-  $ cd ..
+ensure that bookmarks given the names of revset functions can be used
+as --rev arguments (issue3950)
+
+  $ hg update -q 3
+  $ echo bimble > bimble
+  $ hg add bimble
+  $ hg commit -q -m 'bisect'
+  $ echo e >> bimble
+  $ hg ci -m bisect2
+  $ echo e >> bimble
+  $ hg ci -m bisect3
+  $ hg book bisect
+  $ hg update -q Y
+  $ hg rebase -r '"bisect"^^::"bisect"^' -r bisect -d Z
+  saved backup bundle to $TESTTMP/a3/.hg/strip-backup/345c90f326a4-backup.hg (glob)