##// END OF EJS Templates
bundle2caps: advertise the available versions for changegroup packer...
Pierre-Yves David -
r23169:e4dc2b0b default
parent child Browse files
Show More
@@ -882,6 +882,7 b' def getrepocaps(repo):'
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
General Comments 0
You need to be logged in to leave comments. Login now