--- a/hgext3rd/evolve/state.py Thu Apr 11 21:19:01 2019 +0200 +++ b/hgext3rd/evolve/state.py Fri Apr 12 02:55:34 2019 +0800 @@ -45,6 +45,9 @@ def __nonzero__(self): return self.exists() + def __contains__(self, key): + return key in self.opts + def __getitem__(self, key): return self.opts[key]