mercurial/localrepo.py
changeset 20954 dba91f8060eb
parent 20953 8d853cad6b14
child 20955 12f161f08d74
--- a/mercurial/localrepo.py	Fri Apr 04 01:33:20 2014 -0700
+++ b/mercurial/localrepo.py	Fri Apr 04 01:51:54 2014 -0700
@@ -105,8 +105,8 @@
 
     def getbundle(self, source, heads=None, common=None, bundlecaps=None,
                   format='HG10'):
-        return changegroup.getbundle(self._repo, source, heads=heads,
-                                     common=common, bundlecaps=bundlecaps)
+        return exchange.getbundle(self._repo, source, heads=heads,
+                                  common=common, bundlecaps=bundlecaps)
 
     # TODO We might want to move the next two calls into legacypeer and add
     # unbundle instead.