Mercurial > hg
changeset 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 | 21d5416b8a8a |
children | 73b5b8312ce6 |
files | mercurial/subrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)