##// END OF EJS Templates
repo-config: clarify why we seems to parse the repository "twice"...
marmoute -
r53318:8ac33b3f default
parent child Browse files
Show More
@@ -986,6 +986,9 def _getlocal(ui, rpath, wd=None):
986 lui.readconfig(os.path.join(path, b".hg", b"hgrc-not-shared"), path)
986 lui.readconfig(os.path.join(path, b".hg", b"hgrc-not-shared"), path)
987
987
988 if rpath:
988 if rpath:
989 # the specified path, might be defined in the [paths] section of the
990 # local repository. So we had to read the local config first even if it
991 # get overriden here.
989 path_obj = urlutil.get_clone_path_obj(lui, rpath)
992 path_obj = urlutil.get_clone_path_obj(lui, rpath)
990 path = path_obj.rawloc
993 path = path_obj.rawloc
991 lui = ui.copy()
994 lui = ui.copy()
General Comments 0
You need to be logged in to leave comments. Login now