mercurial/exchange.py
changeset 20928 91b47139d0cb
parent 20925 5174c48ed8d8
child 20933 d3775db748a0
--- a/mercurial/exchange.py	Tue Apr 01 14:25:03 2014 -0700
+++ b/mercurial/exchange.py	Tue Apr 01 14:33:23 2014 -0700
@@ -187,7 +187,8 @@
                                    'push',
                                    fastpath=True)
     else:
-        cg = pushop.repo.getlocalbundle('push', outgoing, bundlecaps)
+        cg = changegroup.getlocalbundle(pushop.repo, 'push', outgoing,
+                                        bundlecaps)
 
     # apply changegroup to remote
     if unbundle: