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 |
|
|
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