changeset 50990 | 12c308c55e53 |
parent 50926 | 18c8c18993f0 |
parent 50987 | 758e40b9a8af |
child 51734 | d17578f96e60 |
--- a/mercurial/httppeer.py Wed Jan 25 15:34:27 2023 +0100 +++ b/mercurial/httppeer.py Wed Oct 11 02:02:46 2023 +0200 @@ -662,7 +662,8 @@ return inst except error.RepoError as httpexception: try: - r = statichttprepo.make_peer(ui, b"static-" + path.loc, create) + path = path.copy(new_raw_location=b"static-" + path.rawloc) + r = statichttprepo.make_peer(ui, path, create) ui.note(_(b'(falling back to static-http)\n')) return r except error.RepoError: