tests/test-bookmarks-current.t
changeset 25387 390a10b7843b
parent 25349 62da2d7745f9
child 28385 3f9e25a42e69
--- a/tests/test-bookmarks-current.t	Sun May 24 18:30:27 2015 +0900
+++ b/tests/test-bookmarks-current.t	Wed Apr 15 09:07:54 2015 -0700
@@ -193,3 +193,12 @@
   $ hg up -q .
   $ test -f .hg/bookmarks.current
   [1]
+
+issue 4552 -- simulate a pull moving the active bookmark
+
+  $ hg up -q X
+  $ printf "Z" > .hg/bookmarks.current
+  $ hg log -T '{activebookmark}\n' -r Z
+  Z
+  $ hg log -T '{bookmarks % "{active}\n"}' -r Z
+  Z