# HG changeset patch # User Pierre-Yves David # Date 2014-10-03 16:12:55 # Node ID 15a70ca40b2217aa2163fdc69bd9cbc4ac044a59 # Parent 21d5416b8a8acb9ac3bb6300e1f105a8e7a4d6b9 subrepo: use exchange.pull localrepo.pull is going away, see 4d52e6eb98ea for details. diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py --- a/mercurial/subrepo.py +++ b/mercurial/subrepo.py @@ -743,7 +743,7 @@ class hgsubrepo(abstractsubrepo): self._repo.ui.status(_('pulling subrepo %s from %s\n') % (subrelpath(self), srcurl)) cleansub = self.storeclean(srcurl) - self._repo.pull(other) + exchange.pull(self._repo, other) if cleansub: # keep the repo clean after pull self._cachestorehash(srcurl)