changeset 30614 | cfe66dcf45c0 |
parent 30519 | 20a42325fdef |
child 30634 | ad15646dc61c |
--- a/mercurial/dirstate.py Sat Dec 17 19:56:30 2016 +0530 +++ b/mercurial/dirstate.py Sat Dec 17 20:02:50 2016 +0530 @@ -286,7 +286,7 @@ # self._root ends with a path separator if self._root is '/' or 'C:\' rootsep = self._root if not util.endswithsep(rootsep): - rootsep += os.sep + rootsep += pycompat.ossep if cwd.startswith(rootsep): return cwd[len(rootsep):] else: