mercurial/commands.py
changeset 20928 91b47139d0cb
parent 20875 cc62c9d6887a
child 20930 4a987060d97e
--- a/mercurial/commands.py	Tue Apr 01 14:25:03 2014 -0700
+++ b/mercurial/commands.py	Tue Apr 01 14:33:23 2014 -0700
@@ -1142,7 +1142,7 @@
                                                 onlyheads=heads,
                                                 force=opts.get('force'),
                                                 portable=True)
-        cg = repo.getlocalbundle('bundle', outgoing, bundlecaps)
+        cg = changegroup.getlocalbundle(repo, 'bundle', outgoing, bundlecaps)
     if not cg:
         scmutil.nochangesfound(ui, repo, outgoing and outgoing.excluded)
         return 1