mercurial/util.py
changeset 419 28511fc21073
child 421 43b8da7420a9
equal deleted inserted replaced
418:0446f698d38e 419:28511fc21073
       
     1 # util.py - utility functions and platform specfic implementations
       
     2 #
       
     3 # Copyright 2005 K. Thananchayan <thananck@yahoo.com>
       
     4 #
       
     5 # This software may be used and distributed according to the terms
       
     6 # of the GNU General Public License, incorporated herein by reference.
       
     7 
       
     8 import os
       
     9 
       
    10 if os.name == 'nt':
       
    11     def pconvert(path):
       
    12         return path.replace("\\", "/")
       
    13 else:
       
    14     def pconvert(path):
       
    15         return path
       
    16