# HG changeset patch # User Pierre-Yves David # Date 1412352933 18000 # Node ID 73b5b8312ce66fe6b6043cc0f0024823757d329d # Parent 15a70ca40b2217aa2163fdc69bd9cbc4ac044a59 localrepo: use exchange.pull when cloning localrepo.pull is going away. See 4d52e6eb98ea for details. diff -r 15a70ca40b22 -r 73b5b8312ce6 mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Oct 03 11:12:55 2014 -0500 +++ b/mercurial/localrepo.py Fri Oct 03 11:15:33 2014 -0500 @@ -1728,7 +1728,7 @@ quiet = self.ui.backupconfig('ui', 'quietbookmarkmove') try: self.ui.setconfig('ui', 'quietbookmarkmove', True, 'clone') - ret = self.pull(remote, heads) + ret = exchange.pull(self, remote, heads).cgresult finally: self.ui.restoreconfig(quiet) return ret