##// END OF EJS Templates
revset: strip off "literal:" prefix from bookmark not found error...
Yuya Nishihara -
r26538:5c9ec1cc default
parent child Browse files
Show More
@@ -696,7 +696,7 def bookmark(repo, subset, x):
696 696 bmrev = repo._bookmarks.get(pattern, None)
697 697 if not bmrev:
698 698 raise error.RepoLookupError(_("bookmark '%s' does not exist")
699 % bm)
699 % pattern)
700 700 bms.add(repo[bmrev].rev())
701 701 else:
702 702 matchrevs = set()
@@ -135,6 +135,9 bookmarks revset
135 135 $ hg log -r 'bookmark(unknown)'
136 136 abort: bookmark 'unknown' does not exist!
137 137 [255]
138 $ hg log -r 'bookmark("literal:unknown")'
139 abort: bookmark 'unknown' does not exist!
140 [255]
138 141 $ hg log -r 'bookmark("re:unknown")'
139 142 abort: no bookmarks exist that match 'unknown'!
140 143 [255]
General Comments 0
You need to be logged in to leave comments. Login now