--- a/mercurial/bundle2.py Thu Jan 28 13:49:05 2016 -0800
+++ b/mercurial/bundle2.py Wed Jan 27 09:07:28 2016 -0800
@@ -1242,7 +1242,8 @@
Exists to allow extensions (like evolution) to mutate the capabilities.
"""
caps = capabilities.copy()
- caps['changegroup'] = tuple(sorted(changegroup.supportedversions(repo)))
+ caps['changegroup'] = tuple(sorted(
+ changegroup.supportedincomingversions(repo)))
if obsolete.isenabled(repo, obsolete.exchangeopt):
supportedformat = tuple('V%i' % v for v in obsolete.formats)
caps['obsmarkers'] = supportedformat