tests/test-bookmarks-strip.t
changeset 12394 9d45f78c465b
parent 12392 741290486877
parent 12376 97ffc68f71d3
child 12640 6cc4b14fb76b
--- a/tests/test-bookmarks-strip.t	Thu Sep 23 16:31:38 2010 +0200
+++ b/tests/test-bookmarks-strip.t	Fri Sep 24 00:17:04 2010 +0200
@@ -58,3 +58,30 @@
    * test                      1:8cf31af87a2b
    * test2                     1:8cf31af87a2b
 
+immediate rollback and reentrancy issue
+
+  $ echo "mq=!" >> $HGRCPATH
+  $ hg init repo
+  $ cd repo
+  $ echo a > a
+  $ hg ci -Am adda
+  adding a
+  $ echo b > b
+  $ hg ci -Am addb
+  adding b
+  $ hg bookmarks markb
+  $ hg rollback
+  rolling back to revision 0 (undo commit)
+
+are you there?
+
+  $ hg bookmarks
+  no bookmarks set
+
+can you be added again?
+
+  $ hg bookmarks markb
+  $ hg bookmarks
+   * markb                     0:07f494440405
+  $ cd ..
+