diff -r 0446f698d38e -r 28511fc21073 mercurial/util.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mercurial/util.py Tue Jun 21 19:31:13 2005 -0800 @@ -0,0 +1,16 @@ +# util.py - utility functions and platform specfic implementations +# +# Copyright 2005 K. Thananchayan +# +# This software may be used and distributed according to the terms +# of the GNU General Public License, incorporated herein by reference. + +import os + +if os.name == 'nt': + def pconvert(path): + return path.replace("\\", "/") +else: + def pconvert(path): + return path +