tests/test-strip.t
changeset 27177 e76b27a642ca
parent 27030 cf9ed6d32ccb
child 28029 72072cfc7e91
child 28288 e417e4512b0f
--- a/tests/test-strip.t	Mon Nov 30 11:23:15 2015 -0800
+++ b/tests/test-strip.t	Mon Nov 30 11:23:15 2015 -0800
@@ -552,12 +552,19 @@
   $ echo b > b
   $ echo d > d
   $ hg strip --keep tip
-  saved backup bundle to $TESTTMP/test/.hg/strip-backup/57e364c8a475-4cfed93c-backup.hg (glob)
+  saved backup bundle to $TESTTMP/test/.hg/strip-backup/*-backup.hg (glob)
   $ hg status
   M b
   ! bar
   ? c
   ? d
+
+... after updating the dirstate
+  $ hg add c
+  $ hg commit -mc
+  $ hg rm c
+  $ hg commit -mc
+  $ hg strip --keep '.^' -q
   $ cd ..
 
 stripping many nodes on a complex graph (issue3299)