hgext/fastannotate/__init__.py
changeset 39248 57d4754e44b8
parent 39215 eaa14dff3226
child 39882 c841e8855cd3
equal deleted inserted replaced
39247:f4d4bd8c8911 39248:57d4754e44b8
   112 #   instead of null-terminated file paths at least?)
   112 #   instead of null-terminated file paths at least?)
   113 from __future__ import absolute_import
   113 from __future__ import absolute_import
   114 
   114 
   115 from mercurial.i18n import _
   115 from mercurial.i18n import _
   116 from mercurial import (
   116 from mercurial import (
       
   117     configitems,
   117     error as hgerror,
   118     error as hgerror,
   118     localrepo,
   119     localrepo,
   119     registrar,
   120     registrar,
   120 )
   121 )
   121 
   122 
   136 configtable = {}
   137 configtable = {}
   137 configitem = registrar.configitem(configtable)
   138 configitem = registrar.configitem(configtable)
   138 
   139 
   139 configitem('fastannotate', 'modes', default=['fastannotate'])
   140 configitem('fastannotate', 'modes', default=['fastannotate'])
   140 configitem('fastannotate', 'server', default=False)
   141 configitem('fastannotate', 'server', default=False)
   141 configitem('fastannotate', 'useflock', default=True)
   142 configitem('fastannotate', 'useflock', default=configitems.dynamicdefault)
   142 configitem('fastannotate', 'client', default=False)
   143 configitem('fastannotate', 'client', default=False)
   143 configitem('fastannotate', 'unfilteredrepo', default=True)
   144 configitem('fastannotate', 'unfilteredrepo', default=True)
   144 configitem('fastannotate', 'defaultformat', default=['number'])
   145 configitem('fastannotate', 'defaultformat', default=['number'])
   145 configitem('fastannotate', 'perfhack', default=False)
   146 configitem('fastannotate', 'perfhack', default=False)
   146 configitem('fastannotate', 'mainbranch')
   147 configitem('fastannotate', 'mainbranch')