--- a/mercurial/commands.py Thu Apr 03 12:59:12 2014 -0500
+++ b/mercurial/commands.py Tue Apr 01 14:40:35 2014 -0700
@@ -1129,8 +1129,8 @@
"a destination"))
common = [repo.lookup(rev) for rev in base]
heads = revs and map(repo.lookup, revs) or revs
- cg = repo.getbundle('bundle', heads=heads, common=common,
- bundlecaps=bundlecaps)
+ cg = changegroup.getbundle(repo, 'bundle', heads=heads, common=common,
+ bundlecaps=bundlecaps)
outgoing = None
else:
dest = ui.expandpath(dest or 'default-push', dest or 'default')