mercurial/exchange.py
changeset 35236 5a62910948d2
parent 35041 6370ed6516a6
child 35259 ad5f2b923b0d
--- a/mercurial/exchange.py	Tue Dec 05 19:06:46 2017 +0100
+++ b/mercurial/exchange.py	Thu Oct 05 00:02:02 2017 +0530
@@ -27,6 +27,7 @@
     phases,
     pushkey,
     pycompat,
+    remotenames,
     scmutil,
     sslutil,
     streamclone,
@@ -1304,6 +1305,10 @@
     finally:
         lockmod.release(pullop.trmanager, lock, wlock)
 
+    # storing remotenames
+    if repo.ui.configbool('experimental', 'remotenames'):
+        remotenames.pullremotenames(repo, remote)
+
     return pullop
 
 # list of steps to perform discovery before pull