mercurial/hg.py
changeset 35347 a29fe459fc49
parent 35331 773a9a06047c
child 35438 0ebd94ac56d1
--- a/mercurial/hg.py	Thu Dec 07 21:56:18 2017 +0100
+++ b/mercurial/hg.py	Thu Dec 07 00:26:45 2017 +0530
@@ -28,10 +28,10 @@
     httppeer,
     localrepo,
     lock,
+    logexchange,
     merge as mergemod,
     node,
     phases,
-    remotenames,
     repoview,
     scmutil,
     sshpeer,
@@ -691,7 +691,7 @@
             destrepo.ui.setconfig('paths', 'default', defaulturl, 'clone')
 
             if ui.configbool('experimental', 'remotenames'):
-                remotenames.pullremotenames(destrepo, srcpeer)
+                logexchange.pullremotenames(destrepo, srcpeer)
 
             if update:
                 if update is not True: