diff -r e10000369b47 -r 5174c48ed8d8 mercurial/exchange.py --- a/mercurial/exchange.py Tue Apr 01 13:45:48 2014 -0700 +++ b/mercurial/exchange.py Tue Apr 01 13:59:55 2014 -0700 @@ -181,10 +181,11 @@ # push everything, # use the fast path, no race possible on push bundler = changegroup.bundle10(pushop.repo, bundlecaps) - cg = pushop.repo._changegroupsubset(outgoing, - bundler, - 'push', - fastpath=True) + cg = changegroup.getsubset(pushop.repo, + outgoing, + bundler, + 'push', + fastpath=True) else: cg = pushop.repo.getlocalbundle('push', outgoing, bundlecaps)