mercurial/sshpeer.py
changeset 37321 e826fe7a08c7
parent 37320 39f7d4ee8bcd
child 37393 afcfdf53e4b5
--- a/mercurial/sshpeer.py	Fri Mar 30 18:53:17 2018 -0700
+++ b/mercurial/sshpeer.py	Fri Mar 30 18:57:13 2018 -0700
@@ -354,7 +354,7 @@
         stderr and to forward its output.
         """
         self._url = url
-        self._ui = ui
+        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
@@ -379,10 +379,6 @@
 
     # Begin of ipeerconnection interface.
 
-    @util.propertycache
-    def ui(self):
-        return self._ui
-
     def url(self):
         return self._url