changeset 22696:73b5b8312ce6

localrepo: use exchange.pull when cloning localrepo.pull is going away. See 4d52e6eb98ea for details.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 03 Oct 2014 11:15:33 -0500
parents 15a70ca40b22
children 6ea41d41aba1
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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