##// END OF EJS Templates
pull: skip pulling remote bookmarks with bundle1 if a value already exist...
Pierre-Yves David -
r25443:443d3dec default
parent child Browse files
Show More
@@ -949,6 +949,8 b' def _pullbookmarkbundle1(pullop):'
949
949
950 If not using bundle2, we have to fetch bookmarks before changeset
950 If not using bundle2, we have to fetch bookmarks before changeset
951 discovery to reduce the chance and impact of race conditions."""
951 discovery to reduce the chance and impact of race conditions."""
952 if pullop.remotebookmarks is not None:
953 return
952 if not _canusebundle2(pullop): # all bundle2 server now support listkeys
954 if not _canusebundle2(pullop): # all bundle2 server now support listkeys
953 pullop.remotebookmarks = pullop.remote.listkeys('bookmarks')
955 pullop.remotebookmarks = pullop.remote.listkeys('bookmarks')
954
956
General Comments 0
You need to be logged in to leave comments. Login now