mercurial/chgserver.py
changeset 48525 7caaefa48794
parent 47623 227bbb078c2c
child 48878 201222849987
child 48966 6000f5b25c9b
--- a/mercurial/chgserver.py	Mon Dec 13 22:46:43 2021 -0500
+++ b/mercurial/chgserver.py	Tue Dec 14 17:06:32 2021 -0500
@@ -643,6 +643,13 @@
 
     def __init__(self, ui):
         self.ui = ui
+
+        # TODO: use PEP 526 syntax (`_hashstate: hashstate` at the class level)
+        #  when 3.5 support is dropped.
+        self._hashstate = None  # type: hashstate
+        self._baseaddress = None  # type: bytes
+        self._realaddress = None  # type: bytes
+
         self._idletimeout = ui.configint(b'chgserver', b'idletimeout')
         self._lastactive = time.time()