Comments
Patch
@@ -777,19 +777,19 @@ class unbundlepart(unpackermixin):
return data
capabilities = {'HG2X': (),
'b2x:listkeys': (),
'b2x:pushkey': (),
- 'b2x:changegroup': (),
}
def getrepocaps(repo):
"""return the bundle2 capabilities for a given repo
Exists to allow extensions (like evolution) to mutate the capabilities.
"""
caps = capabilities.copy()
+ caps['b2x:changegroup'] = tuple(sorted(changegroup.packermap.keys()))
if obsolete._enabled:
supportedformat = tuple('V%i' % v for v in obsolete.formats)
caps['b2x:obsmarkers'] = supportedformat
return caps