Show More
@@ -955,8 +955,12 b' def _pullbookmarkbundle1(pullop):' | |||
|
955 | 955 | discovery to reduce the chance and impact of race conditions.""" |
|
956 | 956 | if pullop.remotebookmarks is not None: |
|
957 | 957 | return |
|
958 | if not _canusebundle2(pullop): # all bundle2 server now support listkeys | |
|
959 | pullop.remotebookmarks = pullop.remote.listkeys('bookmarks') | |
|
958 | if (_canusebundle2(pullop) | |
|
959 | and 'listkeys' in bundle2.bundle2caps(pullop.remote)): | |
|
960 | # all known bundle2 servers now support listkeys, but lets be nice with | |
|
961 | # new implementation. | |
|
962 | return | |
|
963 | pullop.remotebookmarks = pullop.remote.listkeys('bookmarks') | |
|
960 | 964 | |
|
961 | 965 | |
|
962 | 966 | @pulldiscovery('changegroup') |
General Comments 0
You need to be logged in to leave comments.
Login now