filtering: test that bookmarks prevent hiding of changesets stable
authorKevin Bullock <kbullock@ringworld.org>
Mon, 28 Jan 2013 20:25:56 -0600
branchstable
changeset 18494 e945bcb87973
parent 18493 fe67107094fd
child 18495 8260fa9f30b9
filtering: test that bookmarks prevent hiding of changesets
tests/test-log.t
--- a/tests/test-log.t	Mon Jan 28 13:56:11 2013 +0100
+++ b/tests/test-log.t	Mon Jan 28 20:25:56 2013 -0600
@@ -1201,6 +1201,15 @@
   $ hg log --template='{rev}:{node}\n'
   1:a765632148dc55d38c35c4f247c618701886cb2f
   0:9f758d63dcde62d547ebfb08e1e7ee96535f2b05
+  $ hg debugsetparents 1
+  $ hg up -q null
+
+bookmarks prevent a changeset being hidden
+
+  $ hg bookmark --hidden -r 1 X
+  $ hg log --template '{rev}:{node}\n'
+  1:a765632148dc55d38c35c4f247c618701886cb2f
+  0:9f758d63dcde62d547ebfb08e1e7ee96535f2b05
 
 clear extensions configuration
   $ echo '[extensions]' >> $HGRCPATH