mercurial/statichttprepo.py
changeset 49757 5f71fff8dc74
parent 49753 ff7134e03629
child 49762 c4d587fa161c
--- a/mercurial/statichttprepo.py	Fri Dec 02 18:18:57 2022 +0100
+++ b/mercurial/statichttprepo.py	Fri Dec 02 18:19:59 2022 +0100
@@ -262,4 +262,5 @@
 def make_peer(ui, path, create, intents=None, createopts=None):
     if create:
         raise error.Abort(_(b'cannot create new static-http repository'))
+    path = path.loc
     return statichttprepository(ui, path[7:]).peer()