changeset 47236:d00177d08139

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 03 May 2021 12:29:41 +0200
parents 8505d23928b1
children 19d4802cb304
files mercurial/statichttprepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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())