##// END OF EJS Templates
use util.localpath() instead of 'str.replace()' to unify path conversion
FUJIWARA Katsunori -
r16068:73aaff46 stable
parent child Browse files
Show More
@@ -468,7 +468,7 b' else:'
468 468 _HKEY_LOCAL_MACHINE)
469 469 if not isinstance(value, str) or not value:
470 470 return rcpath
471 value = value.replace('/', os.sep)
471 value = util.localpath(value)
472 472 for p in value.split(os.pathsep):
473 473 if p.lower().endswith('mercurial.ini'):
474 474 rcpath.append(p)
General Comments 0
You need to be logged in to leave comments. Login now