mercurial/exchange.py
changeset 25443 443d3decbdde
parent 25423 525fbf24b51b
child 25444 1d1fd5d44f57
--- a/mercurial/exchange.py	Mon Jun 01 17:47:15 2015 -0700
+++ b/mercurial/exchange.py	Mon Jun 01 22:28:03 2015 -0700
@@ -949,6 +949,8 @@
 
     If not using bundle2, we have to fetch bookmarks before changeset
     discovery to reduce the chance and impact of race conditions."""
+    if pullop.remotebookmarks is not None:
+        return
     if not _canusebundle2(pullop): # all bundle2 server now support listkeys
         pullop.remotebookmarks = pullop.remote.listkeys('bookmarks')