hgkw/keyword.py
branch0.9.2compat
changeset 616 0b02f86cfb89
parent 615 36de1c074e13
child 622 7f14aa4b0e1f
equal deleted inserted replaced
615:36de1c074e13 616:0b02f86cfb89
   111     '''Safe version of util.binary with reversed logic.
   111     '''Safe version of util.binary with reversed logic.
   112     Note: argument may not be None, which is allowed for util.binary.'''
   112     Note: argument may not be None, which is allowed for util.binary.'''
   113     return '\0' not in s
   113     return '\0' not in s
   114 
   114 
   115 # make keyword tools accessible
   115 # make keyword tools accessible
   116 kwtools = {'templater': None, 'hgcmd': None}
   116 kwtools = {'templater': None, 'hgcmd': ''}
   117 
   117 
   118 # monkeypatch argument parsing
   118 # monkeypatch argument parsing
   119 # due to backwards compatibility this can't be done in uisetup
   119 # due to backwards compatibility this can't be done in uisetup
   120 # uisetup introduced with extensions module in 930ed513c864
   120 # uisetup introduced with extensions module in 930ed513c864
   121 def _kwdispatch_parse(ui, args):
   121 def _kwdispatch_parse(ui, args):