[PATCH] tests: check if the bookmarks extension is ignored

David Soria Parra dsp at php.net
Thu Feb 24 12:15:11 CST 2011


# HG changeset patch
# User David Soria Parra <dsp at php.net>
# Date 1298571300 -3600
# Node ID 02a81b637448aca55bc0be3e197a937c61dabdde
# Parent  f408378b758770e02ec2ab0aa7fee047278cc750
tests: check if the bookmarks extension is ignored

diff --git a/tests/test-bookmarks.t b/tests/test-bookmarks.t
--- a/tests/test-bookmarks.t
+++ b/tests/test-bookmarks.t
@@ -219,3 +219,12 @@
   abort: bookmark 'foo:bar' contains illegal character
   [255]
 
+the bookmark extension should be ignored
+
+  $ echo "[extensions]" >> $HGRCPATH
+  $ echo "bookmarks=" >> $HGRCPATH
+  $ hg bookmarks
+     X2                        0:f7b1eb17ad24
+     Y                         2:db815d6d32e6
+   * Z                         2:db815d6d32e6
+     x  y                      2:db815d6d32e6


More information about the Mercurial-devel mailing list