diff -r 3b5cd6f13dcc -r 3f0744eeaeaf mercurial/exchange.py --- a/mercurial/exchange.py Sat May 16 14:31:03 2015 -0400 +++ b/mercurial/exchange.py Sat May 16 14:30:07 2015 -0400 @@ -1181,7 +1181,7 @@ # bundle10 case usebundle2 = False if bundlecaps is not None: - usebundle2 = util.any((cap.startswith('HG2') for cap in bundlecaps)) + usebundle2 = any((cap.startswith('HG2') for cap in bundlecaps)) if not usebundle2: if bundlecaps and not kwargs.get('cg', True): raise ValueError(_('request for bundle10 must include changegroup'))