changeset 18494:e945bcb87973 stable

filtering: test that bookmarks prevent hiding of changesets
author Kevin Bullock <kbullock@ringworld.org>
date Mon, 28 Jan 2013 20:25:56 -0600
parents fe67107094fd
children 8260fa9f30b9
files tests/test-log.t
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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