Mercurial > public > mercurial-scm > hg
diff mercurial/sshpeer.py @ 49751:a6e2a668c746
peer: have a common constructor and use it
For now it does not do much, but we will extend it to also store a path object
soon.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 03 Dec 2022 00:00:41 +0100 |
parents | f075a9463ee7 |
children | 5f71fff8dc74 |
line wrap: on
line diff
--- a/mercurial/sshpeer.py Fri Dec 02 18:04:51 2022 +0100 +++ b/mercurial/sshpeer.py Sat Dec 03 00:00:41 2022 +0100 @@ -383,8 +383,8 @@ ``autoreadstderr`` denotes whether to automatically read from stderr and to forward its output. """ + super().__init__(ui) self._url = url - self.ui = ui # self._subprocess is unused. Keeping a handle on the process # holds a reference and prevents it from being garbage collected. self._subprocess = proc