equal
deleted
inserted
replaced
880 """return the bundle2 capabilities for a given repo |
880 """return the bundle2 capabilities for a given repo |
881 |
881 |
882 Exists to allow extensions (like evolution) to mutate the capabilities. |
882 Exists to allow extensions (like evolution) to mutate the capabilities. |
883 """ |
883 """ |
884 caps = capabilities.copy() |
884 caps = capabilities.copy() |
|
885 caps['b2x:changegroup'] = tuple(sorted(changegroup.packermap.keys())) |
885 if obsolete.isenabled(repo, obsolete.exchangeopt): |
886 if obsolete.isenabled(repo, obsolete.exchangeopt): |
886 supportedformat = tuple('V%i' % v for v in obsolete.formats) |
887 supportedformat = tuple('V%i' % v for v in obsolete.formats) |
887 caps['b2x:obsmarkers'] = supportedformat |
888 caps['b2x:obsmarkers'] = supportedformat |
888 return caps |
889 return caps |
889 |
890 |