diff hgext/evolve.py @ 1509:405be3783fbc

evolve: ignore ui argument passed to help loader The API changed at Mercurial e0c572d4d112.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 30 Sep 2015 23:33:00 +0900
parents 6f574c76c142
children b86eea66ed02
line wrap: on
line diff
--- a/hgext/evolve.py	Tue Sep 29 09:47:10 2015 -0700
+++ b/hgext/evolve.py	Wed Sep 30 23:33:00 2015 +0900
@@ -3546,7 +3546,8 @@
         return capabilities(oldcap, repo, proto)
     wireproto.commands['capabilities'] = (newcap, args)
 
-def _helploader():
+# Mercurial >= 3.6 passes ui
+def _helploader(ui=None):
     return help.gettext(evolutionhelptext)
 
 @eh.uisetup