Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
49869:5f71fff8dc74 | 49870:20f262ab6fd3 |
---|---|
239 u.path = self.path | 239 u.path = self.path |
240 u.scheme = self.scheme | 240 u.scheme = self.scheme |
241 u.user = self.user | 241 u.user = self.user |
242 u.passwd = self.passwd | 242 u.passwd = self.passwd |
243 u.host = self.host | 243 u.host = self.host |
244 u.path = self.path | 244 u.port = self.port |
245 u.query = self.query | 245 u.query = self.query |
246 u.fragment = self.fragment | 246 u.fragment = self.fragment |
247 u._localpath = self._localpath | 247 u._localpath = self._localpath |
248 u._hostport = self._hostport | 248 u._hostport = self._hostport |
249 u._origpath = self._origpath | 249 u._origpath = self._origpath |