mercurial/bundle2.py
branchstable
changeset 27953 88609cfa3745
parent 27879 52a4ad62b006
child 28666 ae53ecc47414
--- 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