Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revset.py @ 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 | 832feae7c986 |
children | 2aeeef1dc9a5 |
line wrap: on
line diff
--- a/mercurial/revset.py Wed Oct 07 23:00:29 2015 +0900 +++ b/mercurial/revset.py Wed Oct 07 23:04:31 2015 +0900 @@ -696,7 +696,7 @@ bmrev = repo._bookmarks.get(pattern, None) if not bmrev: raise error.RepoLookupError(_("bookmark '%s' does not exist") - % bm) + % pattern) bms.add(repo[bmrev].rev()) else: matchrevs = set()