mercurial/exchange.py
changeset 20925 5174c48ed8d8
parent 20924 e10000369b47
child 20928 91b47139d0cb
--- 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)