Show More
@@ -696,7 +696,7 b' def bookmark(repo, subset, x):' | |||||
696 | bmrev = repo._bookmarks.get(pattern, None) |
|
696 | bmrev = repo._bookmarks.get(pattern, None) | |
697 | if not bmrev: |
|
697 | if not bmrev: | |
698 | raise error.RepoLookupError(_("bookmark '%s' does not exist") |
|
698 | raise error.RepoLookupError(_("bookmark '%s' does not exist") | |
699 |
% |
|
699 | % pattern) | |
700 | bms.add(repo[bmrev].rev()) |
|
700 | bms.add(repo[bmrev].rev()) | |
701 | else: |
|
701 | else: | |
702 | matchrevs = set() |
|
702 | matchrevs = set() |
@@ -135,6 +135,9 b' bookmarks revset' | |||||
135 | $ hg log -r 'bookmark(unknown)' |
|
135 | $ hg log -r 'bookmark(unknown)' | |
136 | abort: bookmark 'unknown' does not exist! |
|
136 | abort: bookmark 'unknown' does not exist! | |
137 | [255] |
|
137 | [255] | |
|
138 | $ hg log -r 'bookmark("literal:unknown")' | |||
|
139 | abort: bookmark 'unknown' does not exist! | |||
|
140 | [255] | |||
138 | $ hg log -r 'bookmark("re:unknown")' |
|
141 | $ hg log -r 'bookmark("re:unknown")' | |
139 | abort: no bookmarks exist that match 'unknown'! |
|
142 | abort: no bookmarks exist that match 'unknown'! | |
140 | [255] |
|
143 | [255] |
General Comments 0
You need to be logged in to leave comments.
Login now