mercurial/bundlerepo.py
branchstable
changeset 27953 88609cfa3745
parent 27776 6fe2da48a6dd
child 28186 5ab6f0fde75f
--- a/mercurial/bundlerepo.py	Thu Jan 28 13:49:05 2016 -0800
+++ b/mercurial/bundlerepo.py	Wed Jan 27 09:07:28 2016 -0800
@@ -282,7 +282,7 @@
                                                   "multiple changegroups")
                     cgstream = part
                     version = part.params.get('version', '01')
-                    if version not in changegroup.supportedversions(self):
+                    if version not in changegroup.allsupportedversions(ui):
                         msg = _('Unsupported changegroup version: %s')
                         raise error.Abort(msg % version)
                     if self.bundle.compressed():