statichttp: add the missing `features` attribute
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 03 May 2021 12:29:41 +0200
changeset 47225 d00177d08139
parent 47224 8505d23928b1
child 47226 19d4802cb304
statichttp: add the missing `features` attribute This make statichttp closer to the interface it is "supposed" to follow. Differential Revision: https://phab.mercurial-scm.org/D10616
mercurial/statichttprepo.py
--- a/mercurial/statichttprepo.py	Mon May 03 12:29:30 2021 +0200
+++ b/mercurial/statichttprepo.py	Mon May 03 12:29:41 2021 +0200
@@ -177,6 +177,7 @@
         self.filtername = None
         self._extrafilterid = None
         self._wanted_sidedata = set()
+        self.features = set()
 
         try:
             requirements = set(self.vfs.read(b'requires').splitlines())