diff -r ada8a19672ab -r 0fa781320203 mercurial/pathutil.py --- a/mercurial/pathutil.py Thu Sep 07 22:36:54 2017 +0900 +++ b/mercurial/pathutil.py Sun Sep 03 14:32:11 2017 +0900 @@ -203,9 +203,9 @@ See also issue3033 for detail about need of this function. - >>> normasprefix('/foo/bar').replace(os.sep, '/') + >>> normasprefix(b'/foo/bar').replace(os.sep, b'/') '/foo/bar/' - >>> normasprefix('/').replace(os.sep, '/') + >>> normasprefix(b'/').replace(os.sep, b'/') '/' ''' d, p = os.path.splitdrive(path)