##// END OF EJS Templates
dispatch: use the new API to resolve --repository...
marmoute -
r47719:e7d082e4 default
parent child Browse files
Show More
@@ -50,6 +50,7 b' from . import ('
50 from .utils import (
50 from .utils import (
51 procutil,
51 procutil,
52 stringutil,
52 stringutil,
53 urlutil,
53 )
54 )
54
55
55
56
@@ -990,7 +991,7 b' def _getlocal(ui, rpath, wd=None):'
990 lui.readconfig(os.path.join(path, b".hg", b"hgrc-not-shared"), path)
991 lui.readconfig(os.path.join(path, b".hg", b"hgrc-not-shared"), path)
991
992
992 if rpath:
993 if rpath:
993 path = lui.expandpath(rpath)
994 path = urlutil.get_clone_path(lui, rpath)[0]
994 lui = ui.copy()
995 lui = ui.copy()
995 if rcutil.use_repo_hgrc():
996 if rcutil.use_repo_hgrc():
996 _readsharedsourceconfig(lui, path)
997 _readsharedsourceconfig(lui, path)
General Comments 0
You need to be logged in to leave comments. Login now