mercurial/exchange.py
changeset 29376 113d0b23321a
parent 29341 0d83ad967bf8
child 29389 98e8313dcd9e
--- a/mercurial/exchange.py	Sun Jun 19 02:17:33 2016 +0900
+++ b/mercurial/exchange.py	Wed Jun 01 22:58:57 2016 +0200
@@ -1056,7 +1056,8 @@
         # revision we try to pull (None is "all")
         self.heads = heads
         # bookmark pulled explicitly
-        self.explicitbookmarks = bookmarks
+        self.explicitbookmarks = [repo._bookmarks.expandname(bookmark)
+                                  for bookmark in bookmarks]
         # do we force pull?
         self.force = force
         # whether a streaming clone was requested