hgext/remotefilelog/fileserverclient.py
changeset 40510 fc2766860796
parent 40509 ed19958dbf5d
child 40511 466dd4d70bff
equal deleted inserted replaced
40509:ed19958dbf5d 40510:fc2766860796
    81             if (constants.NETWORK_CAP_LEGACY_SSH_GETFILES
    81             if (constants.NETWORK_CAP_LEGACY_SSH_GETFILES
    82                 not in self.capabilities()):
    82                 not in self.capabilities()):
    83                 return
    83                 return
    84             if not util.safehasattr(self, '_localrepo'):
    84             if not util.safehasattr(self, '_localrepo'):
    85                 return
    85                 return
    86             if constants.REQUIREMENT not in self._localrepo.requirements:
    86             if (constants.SHALLOWREPO_REQUIREMENT
       
    87                 not in self._localrepo.requirements):
    87                 return
    88                 return
    88 
    89 
    89             bundlecaps = opts.get('bundlecaps')
    90             bundlecaps = opts.get('bundlecaps')
    90             if bundlecaps:
    91             if bundlecaps:
    91                 bundlecaps = [bundlecaps]
    92                 bundlecaps = [bundlecaps]