--- 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 ..
+