changeset 30305 | af7c60988f6e |
parent 30109 | 96a2278ee732 |
child 30309 | 4b1af1c867fa |
--- a/mercurial/scmutil.py Sun Nov 06 04:10:33 2016 +0530 +++ b/mercurial/scmutil.py Sun Nov 06 04:17:19 2016 +0530 @@ -27,6 +27,7 @@ osutil, pathutil, phases, + pycompat, revset, similar, util, @@ -755,7 +756,7 @@ if _rcpath is None: if 'HGRCPATH' in encoding.environ: _rcpath = [] - for p in os.environ['HGRCPATH'].split(os.pathsep): + for p in encoding.environ['HGRCPATH'].split(pycompat.ospathsep): if not p: continue p = util.expandpath(p)