Show More
@@ -958,6 +958,8 b' class pulloperation(object):' | |||||
958 | self.cgresult = None |
|
958 | self.cgresult = None | |
959 | # list of step already done |
|
959 | # list of step already done | |
960 | self.stepsdone = set() |
|
960 | self.stepsdone = set() | |
|
961 | # Whether we attempted a clone from pre-generated bundles. | |||
|
962 | self.clonebundleattempted = False | |||
961 |
|
963 | |||
962 | @util.propertycache |
|
964 | @util.propertycache | |
963 | def pulledsubset(self): |
|
965 | def pulledsubset(self): | |
@@ -1603,6 +1605,11 b' def _maybeapplyclonebundle(pullop):' | |||||
1603 | return |
|
1605 | return | |
1604 |
|
1606 | |||
1605 | res = remote._call('clonebundles') |
|
1607 | res = remote._call('clonebundles') | |
|
1608 | ||||
|
1609 | # If we call the wire protocol command, that's good enough to record the | |||
|
1610 | # attempt. | |||
|
1611 | pullop.clonebundleattempted = True | |||
|
1612 | ||||
1606 | entries = parseclonebundlesmanifest(repo, res) |
|
1613 | entries = parseclonebundlesmanifest(repo, res) | |
1607 | if not entries: |
|
1614 | if not entries: | |
1608 | repo.ui.note(_('no clone bundles available on remote; ' |
|
1615 | repo.ui.note(_('no clone bundles available on remote; ' |
General Comments 0
You need to be logged in to leave comments.
Login now