author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
Sun, 05 Feb 2012 22:58:31 +0900 | |
branch | stable |
changeset 16068 | 73aaff46175b |
parent 16067 | 467a85ced564 |
child 16069 | f680ed10e2c4 |
--- a/mercurial/scmutil.py Sun Feb 05 22:58:31 2012 +0900 +++ b/mercurial/scmutil.py Sun Feb 05 22:58:31 2012 +0900 @@ -468,7 +468,7 @@ _HKEY_LOCAL_MACHINE) if not isinstance(value, str) or not value: return rcpath - value = value.replace('/', os.sep) + value = util.localpath(value) for p in value.split(os.pathsep): if p.lower().endswith('mercurial.ini'): rcpath.append(p)