Mercurial > public > mercurial-scm > hg-stable
diff mercurial/subrepo.py @ 22695:15a70ca40b22
subrepo: use exchange.pull
localrepo.pull is going away, see 4d52e6eb98ea for details.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 03 Oct 2014 11:12:55 -0500 |
parents | f4e39ceb064a |
children | c95db3208a33 |
line wrap: on
line diff
--- a/mercurial/subrepo.py Fri Oct 03 11:11:12 2014 -0500 +++ b/mercurial/subrepo.py Fri Oct 03 11:12:55 2014 -0500 @@ -743,7 +743,7 @@ 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)