mercurial/commands.py
changeset 29376 113d0b23321a
parent 29266 b3a677c82a35
child 29384 c75c8ea2f573
--- a/mercurial/commands.py	Sun Jun 19 02:17:33 2016 +0900
+++ b/mercurial/commands.py	Wed Jun 01 22:58:57 2016 +0200
@@ -5805,6 +5805,7 @@
             remotebookmarks = other.listkeys('bookmarks')
             pullopargs['remotebookmarks'] = remotebookmarks
             for b in opts['bookmark']:
+                b = repo._bookmarks.expandname(b)
                 if b not in remotebookmarks:
                     raise error.Abort(_('remote bookmark %s not found!') % b)
                 revs.append(remotebookmarks[b])