diff tests/test-bookmarks-current.t @ 19147:5b1835485442

bookmarks: allow bookmark command to take multiple arguments This change allows setting or deleting multiple bookmarks at once. If more than one is being set and --inactive is not given, the first one is made active.
author Kevin Bullock <kbullock@ringworld.org>
date Thu, 02 May 2013 21:28:18 -0500
parents 23f785b38af3
children 7731a2281cf0
line wrap: on
line diff
--- a/tests/test-bookmarks-current.t	Sun May 05 18:51:34 2013 -0500
+++ b/tests/test-bookmarks-current.t	Thu May 02 21:28:18 2013 -0500
@@ -43,16 +43,19 @@
   $ hg bookmarks
    * Z                         -1:000000000000
 
-new bookmark Y
+new bookmarks X and Y, first one made active
 
-  $ hg bookmark Y
+  $ hg bookmark Y X
 
 list bookmarks
 
   $ hg bookmark
+     X                         -1:000000000000
    * Y                         -1:000000000000
      Z                         -1:000000000000
 
+  $ hg bookmark -d X
+
 commit
 
   $ echo 'b' > b