changeset 30616 | 6f9fcd29e290 |
parent 29324 | b501579147f1 |
child 30638 | 1c5cbf28f007 |
--- a/hgext/convert/cvsps.py Sat Dec 17 20:14:24 2016 +0530 +++ b/hgext/convert/cvsps.py Sat Dec 17 20:24:46 2016 +0530 @@ -12,6 +12,7 @@ from mercurial.i18n import _ from mercurial import ( hook, + pycompat, util, ) @@ -136,8 +137,8 @@ except IOError: raise logerror(_('not a CVS sandbox')) - if prefix and not prefix.endswith(os.sep): - prefix += os.sep + if prefix and not prefix.endswith(pycompat.ossep): + prefix += pycompat.ossep # Use the Root file in the sandbox, if it exists try: