changeset 6629:c3b3a0620f3b

evolve: add missing _tiprev and _tipnode attributes to stablerangesqlbase They are used in this class' methods, but only are set in children classes. It rightfully made pytype complain, so let's add them here, even if it's not the most correct solution (that would be to rethink the inheritance layers between all this bunch of classes).
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 01 Jan 2024 17:58:08 -0300
parents 757fdf2216a3
children f2b8e94d7afb
files hgext3rd/evolve/stablerangecache.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/stablerangecache.py	Mon Jan 01 17:54:05 2024 -0300
+++ b/hgext3rd/evolve/stablerangecache.py	Mon Jan 01 17:58:08 2024 -0300
@@ -174,6 +174,8 @@
 
     __metaclass__ = abc.ABCMeta
 
+    _tiprev = None
+    _tipnode = None
     _schemaversion = None
     _cachefile = None