Show More
@@ -509,6 +509,11 b' def makelocalrepository(baseui, path, in' | |||||
509 | except OSError as e: |
|
509 | except OSError as e: | |
510 | if e.errno != errno.ENOENT: |
|
510 | if e.errno != errno.ENOENT: | |
511 | raise |
|
511 | raise | |
|
512 | except ValueError as e: | |||
|
513 | # Can be raised on Python 3.8 when path is invalid. | |||
|
514 | raise error.Abort( | |||
|
515 | _(b'invalid path %s: %s') % (path, pycompat.bytestr(e)) | |||
|
516 | ) | |||
512 |
|
517 | |||
513 | raise error.RepoError(_(b'repository %s not found') % path) |
|
518 | raise error.RepoError(_(b'repository %s not found') % path) | |
514 |
|
519 |
General Comments 0
You need to be logged in to leave comments.
Login now