hgext/evolve.py
changeset 1509 405be3783fbc
parent 1507 6f574c76c142
child 1510 b86eea66ed02
equal deleted inserted replaced
1508:8dfb88ca0c08 1509:405be3783fbc
  3544     oldcap, args = wireproto.commands['capabilities']
  3544     oldcap, args = wireproto.commands['capabilities']
  3545     def newcap(repo, proto):
  3545     def newcap(repo, proto):
  3546         return capabilities(oldcap, repo, proto)
  3546         return capabilities(oldcap, repo, proto)
  3547     wireproto.commands['capabilities'] = (newcap, args)
  3547     wireproto.commands['capabilities'] = (newcap, args)
  3548 
  3548 
  3549 def _helploader():
  3549 # Mercurial >= 3.6 passes ui
       
  3550 def _helploader(ui=None):
  3550     return help.gettext(evolutionhelptext)
  3551     return help.gettext(evolutionhelptext)
  3551 
  3552 
  3552 @eh.uisetup
  3553 @eh.uisetup
  3553 def _setuphelp(ui):
  3554 def _setuphelp(ui):
  3554     for entry in help.helptable:
  3555     for entry in help.helptable: