equal
deleted
inserted
replaced
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): |