--- 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: