comparison tests/test-bookmarks.t @ 26538:5c9ec1cc671a

revset: strip off "literal:" prefix from bookmark not found error This is what branch() and tag() do.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 07 Oct 2015 23:04:31 +0900
parents 4b685712fa45
children 71a485130beb
comparison
equal deleted inserted replaced
26537:832feae7c986 26538:5c9ec1cc671a
131 date: Thu Jan 01 00:00:00 1970 +0000 131 date: Thu Jan 01 00:00:00 1970 +0000
132 summary: 0 132 summary: 0
133 133
134 134
135 $ hg log -r 'bookmark(unknown)' 135 $ hg log -r 'bookmark(unknown)'
136 abort: bookmark 'unknown' does not exist!
137 [255]
138 $ hg log -r 'bookmark("literal:unknown")'
136 abort: bookmark 'unknown' does not exist! 139 abort: bookmark 'unknown' does not exist!
137 [255] 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]