##// END OF EJS Templates
convert: Accept local path on win32.
Shun-ichi GOTO -
r5793:68f5bf9a default
parent child Browse files
Show More
@@ -51,7 +51,10 b' def geturl(path):'
51 except SubversionException:
51 except SubversionException:
52 pass
52 pass
53 if os.path.isdir(path):
53 if os.path.isdir(path):
54 return 'file://%s' % os.path.normpath(os.path.abspath(path))
54 path = os.path.normpath(os.path.abspath(path))
55 if os.name == 'nt':
56 path = '/' + path.replace('\\', '/')
57 return 'file://%s' % path
55 return path
58 return path
56
59
57 def optrev(number):
60 def optrev(number):
General Comments 0
You need to be logged in to leave comments. Login now