##// END OF EJS Templates
path: use `get_clone_path_obj` in _getlocal...
marmoute -
r50637:30eb36d9 default
parent child Browse files
Show More
@@ -980,7 +980,8 b' def _getlocal(ui, rpath, wd=None):'
980 lui.readconfig(os.path.join(path, b".hg", b"hgrc-not-shared"), path)
980 lui.readconfig(os.path.join(path, b".hg", b"hgrc-not-shared"), path)
981
981
982 if rpath:
982 if rpath:
983 path = urlutil.get_clone_path(lui, rpath)[0]
983 path_obj = urlutil.get_clone_path_obj(lui, rpath)
984 path = path_obj.rawloc
984 lui = ui.copy()
985 lui = ui.copy()
985 if rcutil.use_repo_hgrc():
986 if rcutil.use_repo_hgrc():
986 _readsharedsourceconfig(lui, path)
987 _readsharedsourceconfig(lui, path)
General Comments 0
You need to be logged in to leave comments. Login now