Mercurial > hg
diff tests/test-bookmarks.t @ 39753:b05b4b91de3d
bookmarks: add explicit option to list bookmarks of the given names
This is a generalized form of the --active option.
A redundant sorted() call is removed. There was no point to update dict items
in lexicographical order.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 15 Sep 2018 12:44:23 +0900 |
parents | 2d478b05fb14 |
children | 7ed611c60168 |
line wrap: on
line diff
--- a/tests/test-bookmarks.t Sat Sep 15 12:34:13 2018 +0900 +++ b/tests/test-bookmarks.t Sat Sep 15 12:44:23 2018 +0900 @@ -68,6 +68,25 @@ X 0:f7b1eb17ad24 * X2 0:f7b1eb17ad24 Y -1:000000000000 + $ hg bookmarks -l + X 0:f7b1eb17ad24 + * X2 0:f7b1eb17ad24 + Y -1:000000000000 + $ hg bookmarks -l X Y + X 0:f7b1eb17ad24 + Y -1:000000000000 + $ hg bookmarks -l . + * X2 0:f7b1eb17ad24 + $ hg bookmarks -l X A Y + abort: bookmark 'A' does not exist + [255] + $ hg bookmarks -l -r0 + abort: --rev is incompatible with --list + [255] + $ hg bookmarks -l --inactive + abort: --inactive is incompatible with --list + [255] + $ hg log -T '{bookmarks % "{rev} {bookmark}\n"}' 0 X 0 X2