Show More
@@ -164,7 +164,7 b' def geturl(path):' | |||
|
164 | 164 | # svn.client.url_from_path() fails with local repositories |
|
165 | 165 | pass |
|
166 | 166 | if os.path.isdir(path): |
|
167 |
path = os.path.normpath( |
|
|
167 | path = os.path.normpath(util.abspath(path)) | |
|
168 | 168 | if pycompat.iswindows: |
|
169 | 169 | path = b'/' + util.normpath(path) |
|
170 | 170 | # Module URL is later compared with the repository URL returned |
@@ -431,7 +431,7 b' def issvnurl(ui, url):' | |||
|
431 | 431 | path = unicodepath.encode(fsencoding) |
|
432 | 432 | except ValueError: |
|
433 | 433 | proto = b'file' |
|
434 |
path = |
|
|
434 | path = util.abspath(url) | |
|
435 | 435 | try: |
|
436 | 436 | path.decode(fsencoding) |
|
437 | 437 | except UnicodeDecodeError: |
General Comments 0
You need to be logged in to leave comments.
Login now