diff tests/test-log.t @ 18495:8260fa9f30b9 stable

bookmarks: don't use bookmarks.listbookmarks in local computations bookmarks.listbookmarks is for wire-protocol use. The normal way to get all the bookmarks on a local repository is repo._bookmarks.
author Kevin Bullock <kbullock@ringworld.org>
date Sun, 27 Jan 2013 14:24:37 -0600
parents e945bcb87973
children c1af1fb314bc
line wrap: on
line diff
--- a/tests/test-log.t	Mon Jan 28 20:25:56 2013 -0600
+++ b/tests/test-log.t	Sun Jan 27 14:24:37 2013 -0600
@@ -1210,6 +1210,14 @@
   $ hg log --template '{rev}:{node}\n'
   1:a765632148dc55d38c35c4f247c618701886cb2f
   0:9f758d63dcde62d547ebfb08e1e7ee96535f2b05
+  $ hg bookmark -d X
+
+divergent bookmarks are not hidden
+
+  $ hg bookmark --hidden -r 1 X@foo
+  $ hg log --template '{rev}:{node}\n'
+  1:a765632148dc55d38c35c4f247c618701886cb2f
+  0:9f758d63dcde62d547ebfb08e1e7ee96535f2b05
 
 clear extensions configuration
   $ echo '[extensions]' >> $HGRCPATH