mercurial/dispatch.py
changeset 45920 1441f4d57083
parent 45918 ac565222b9f8
child 45942 89a2afe31e82
equal deleted inserted replaced
45919:aba4f2c97e74 45920:1441f4d57083
   917                 and requirementsmod.SHARED_REQUIREMENT in requirements
   917                 and requirementsmod.SHARED_REQUIREMENT in requirements
   918             ):
   918             ):
   919                 return
   919                 return
   920             hgvfs = vfs.vfs(os.path.join(path, b".hg"))
   920             hgvfs = vfs.vfs(os.path.join(path, b".hg"))
   921             sharedvfs = localrepo._getsharedvfs(hgvfs, requirements)
   921             sharedvfs = localrepo._getsharedvfs(hgvfs, requirements)
   922             ui.readconfig(sharedvfs.join(b"hgrc"), path)
   922             root = sharedvfs.base
       
   923             ui.readconfig(sharedvfs.join(b"hgrc"), root)
   923     except IOError:
   924     except IOError:
   924         pass
   925         pass
   925 
   926 
   926 
   927 
   927 def _getlocal(ui, rpath, wd=None):
   928 def _getlocal(ui, rpath, wd=None):