# HG changeset patch # User Anton Shestakov # Date 1660201725 -14400 # Node ID a649e0e36de79c0b001f482500d269aaa4fca512 # Parent f656daf884a4614ddf9ac91c29cb2803f36c5ae4 exthelper: drop 4.7 compatibility for fa88170c10bb (^command vs helpbasic) diff -r f656daf884a4 -r a649e0e36de7 hgext3rd/evolve/exthelper.py --- a/hgext3rd/evolve/exthelper.py Thu Aug 11 18:03:49 2022 +0400 +++ b/hgext3rd/evolve/exthelper.py Thu Aug 11 11:08:45 2022 +0400 @@ -83,14 +83,6 @@ self._duckpunchers = [] self.cmdtable = {} self.command = registrar.command(self.cmdtable) - if b'^init' in commands.table: - olddoregister = self.command._doregister - - def _newdoregister(self, name, *args, **kwargs): - if kwargs.pop('helpbasic', False): - name = r'^' + name - return olddoregister(self, name, *args, **kwargs) - self.command._doregister = _newdoregister self.configtable = {} self.configitem = registrar.configitem(self.configtable)