Mercurial > public > mercurial-scm > hg-stable
diff mercurial/utils/urlutil.py @ 49870:20f262ab6fd3
path: fix `url.copy` dropping the port
The copy method have been wrong for a while, but the new code reveals it.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 03 Dec 2022 05:53:13 +0100 |
parents | d979c76d6e54 |
children | f1887500f3ec |
line wrap: on
line diff
--- a/mercurial/utils/urlutil.py Fri Dec 02 18:19:59 2022 +0100 +++ b/mercurial/utils/urlutil.py Sat Dec 03 05:53:13 2022 +0100 @@ -241,7 +241,7 @@ u.user = self.user u.passwd = self.passwd u.host = self.host - u.path = self.path + u.port = self.port u.query = self.query u.fragment = self.fragment u._localpath = self._localpath