mercurial/logexchange.py
changeset 49760 5bceea1a8234
parent 48913 f254fc73d956
--- a/mercurial/logexchange.py	Sat Dec 03 00:24:28 2022 +0100
+++ b/mercurial/logexchange.py	Sat Dec 03 06:16:45 2022 +0100
@@ -113,7 +113,7 @@
     if local:
         rpath = util.pconvert(remote._repo.root)
     elif not isinstance(remote, bytes):
-        rpath = remote._url
+        rpath = remote.url()
 
     # represent the remotepath with user defined path name if exists
     for path, url in repo.ui.configitems(b'paths'):