diff mercurial/exchange.py @ 29376:113d0b23321a

bookmarks: add 'hg pull -B .' for pulling the active bookmark (issue5258)
author liscju <piotr.listkiewicz@gmail.com>
date Wed, 01 Jun 2016 22:58:57 +0200
parents 0d83ad967bf8
children 98e8313dcd9e
line wrap: on
line diff
--- 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