diff -r 8d853cad6b14 -r dba91f8060eb mercurial/localrepo.py --- 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.