equal
deleted
inserted
replaced
538 if e.errno != errno.ENOENT: |
538 if e.errno != errno.ENOENT: |
539 raise |
539 raise |
540 except ValueError as e: |
540 except ValueError as e: |
541 # Can be raised on Python 3.8 when path is invalid. |
541 # Can be raised on Python 3.8 when path is invalid. |
542 raise error.Abort( |
542 raise error.Abort( |
543 _(b'invalid path %s: %s') % (path, pycompat.bytestr(e)) |
543 _(b'invalid path %s: %s') % (path, stringutil.forcebytestr(e)) |
544 ) |
544 ) |
545 |
545 |
546 raise error.RepoError(_(b'repository %s not found') % path) |
546 raise error.RepoError(_(b'repository %s not found') % path) |
547 |
547 |
548 requirements = _readrequires(hgvfs, True) |
548 requirements = _readrequires(hgvfs, True) |