diff -r 5ce32fe7df34 -r cd022a11ec83 mercurial/pathutil.py --- a/mercurial/pathutil.py Sun Sep 17 12:23:16 2017 +0900 +++ b/mercurial/pathutil.py Sun Sep 17 12:26:42 2017 +0900 @@ -203,9 +203,9 @@ See also issue3033 for detail about need of this function. - >>> normasprefix(b'/foo/bar').replace(os.sep, b'/') + >>> normasprefix(b'/foo/bar').replace(pycompat.ossep, b'/') '/foo/bar/' - >>> normasprefix(b'/').replace(os.sep, b'/') + >>> normasprefix(b'/').replace(pycompat.ossep, b'/') '/' ''' d, p = os.path.splitdrive(path)