compat: drop handling of ancestral 'helploader' caller
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 28 Feb 2017 14:22:25 +0100
changeset 1827 15ec53d46f44
parent 1826 19df96c0d670
child 1828 2b80c01b3f58
compat: drop handling of ancestral 'helploader' caller We only support recent only version on Mercurial now.
hgext3rd/evolve/__init__.py
--- a/hgext3rd/evolve/__init__.py	Tue Feb 28 14:22:05 2017 +0100
+++ b/hgext3rd/evolve/__init__.py	Tue Feb 28 14:22:25 2017 +0100
@@ -4022,8 +4022,7 @@
         return capabilities(oldcap, repo, proto)
     wireproto.commands['capabilities'] = (newcap, args)
 
-# Mercurial >= 3.6 passes ui
-def _helploader(ui=None):
+def _helploader(ui):
     return help.gettext(evolutionhelptext)
 
 @eh.uisetup