hgext/fastannotate/commands.py
changeset 42057 566daffc607d
parent 40838 901f6ef670ca
child 43076 2372284d9457
equal deleted inserted replaced
42056:4950ae4d034f 42057:566daffc607d
   196             result, lines = result
   196             result, lines = result
   197 
   197 
   198         formatter.write(result, lines, existinglines=existinglines)
   198         formatter.write(result, lines, existinglines=existinglines)
   199     formatter.end()
   199     formatter.end()
   200 
   200 
   201 _newopts = set([])
   201 _newopts = set()
   202 _knownopts = set([opt[1].replace('-', '_') for opt in
   202 _knownopts = {opt[1].replace('-', '_') for opt in
   203                   (fastannotatecommandargs[r'options'] + commands.globalopts)])
   203               (fastannotatecommandargs[r'options'] + commands.globalopts)}
   204 
   204 
   205 def _annotatewrapper(orig, ui, repo, *pats, **opts):
   205 def _annotatewrapper(orig, ui, repo, *pats, **opts):
   206     """used by wrapdefault"""
   206     """used by wrapdefault"""
   207     # we need this hack until the obsstore has 0.0 seconds perf impact
   207     # we need this hack until the obsstore has 0.0 seconds perf impact
   208     if ui.configbool('fastannotate', 'unfilteredrepo'):
   208     if ui.configbool('fastannotate', 'unfilteredrepo'):