branch | stable |
changeset 51507 | a2f1d97e5284 |
parent 50926 | 18c8c18993f0 |
child 51859 | f4733654f144 |
--- a/mercurial/sshpeer.py Mon Mar 18 11:25:21 2024 +0100 +++ b/mercurial/sshpeer.py Sat Mar 16 18:37:07 2024 -0300 @@ -640,7 +640,7 @@ """ u = urlutil.url(path.loc, parsequery=False, parsefragment=False) if u.scheme != b'ssh' or not u.host or u.path is None: - raise error.RepoError(_(b"couldn't parse location %s") % path) + raise error.RepoError(_(b"couldn't parse location %s") % path.loc) urlutil.checksafessh(path.loc)