comparison 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
comparison
equal deleted inserted replaced
19146:a718a0ba6787 19147:5b1835485442
41 $ cat .hg/bookmarks 41 $ cat .hg/bookmarks
42 0000000000000000000000000000000000000000 Z 42 0000000000000000000000000000000000000000 Z
43 $ hg bookmarks 43 $ hg bookmarks
44 * Z -1:000000000000 44 * Z -1:000000000000
45 45
46 new bookmark Y 46 new bookmarks X and Y, first one made active
47 47
48 $ hg bookmark Y 48 $ hg bookmark Y X
49 49
50 list bookmarks 50 list bookmarks
51 51
52 $ hg bookmark 52 $ hg bookmark
53 X -1:000000000000
53 * Y -1:000000000000 54 * Y -1:000000000000
54 Z -1:000000000000 55 Z -1:000000000000
56
57 $ hg bookmark -d X
55 58
56 commit 59 commit
57 60
58 $ echo 'b' > b 61 $ echo 'b' > b
59 $ hg add b 62 $ hg add b