tests/test-bookmarks.t
changeset 43601 a80d5ddecc2d
parent 43598 2a8cd7edf409
child 43900 3b50de911200
--- a/tests/test-bookmarks.t	Sat Nov 09 12:44:00 2019 +0900
+++ b/tests/test-bookmarks.t	Sat Nov 09 12:55:56 2019 +0900
@@ -619,6 +619,16 @@
      x  y                      2:db815d6d32e6
   $ hg bookmark Z
 
+bookmark wdir to activate it (issue6218)
+
+  $ hg bookmark -d Z
+  $ hg bookmark -r 'wdir()' Z
+  $ hg bookmark -l
+     X2                        1:925d80f479bb
+     Y                         2:db815d6d32e6
+   * Z                         2:db815d6d32e6
+     x  y                      2:db815d6d32e6
+
 test clone
 
   $ hg bookmark -r 2 -i @