equal
deleted
inserted
replaced
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] |