hgext/histedit.py
changeset 34470 6567002ae87e
parent 34029 6e6452bc441d
child 34471 1e37cb4da6f8
equal deleted inserted replaced
34469:61275d0f6157 34470:6567002ae87e
   186 
   186 
   187 from mercurial.i18n import _
   187 from mercurial.i18n import _
   188 from mercurial import (
   188 from mercurial import (
   189     bundle2,
   189     bundle2,
   190     cmdutil,
   190     cmdutil,
       
   191     configitems,
   191     context,
   192     context,
   192     copies,
   193     copies,
   193     destutil,
   194     destutil,
   194     discovery,
   195     discovery,
   195     error,
   196     error,
   209 
   210 
   210 pickle = util.pickle
   211 pickle = util.pickle
   211 release = lock.release
   212 release = lock.release
   212 cmdtable = {}
   213 cmdtable = {}
   213 command = registrar.command(cmdtable)
   214 command = registrar.command(cmdtable)
       
   215 
       
   216 configtable = {}
       
   217 configitem = registrar.configitem(configtable)
       
   218 configitem('histedit', 'defaultrev',
       
   219     default=configitems.dynamicdefault,
       
   220 )
   214 
   221 
   215 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
   222 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
   216 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
   223 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
   217 # be specifying the version(s) of Mercurial they are tested with, or
   224 # be specifying the version(s) of Mercurial they are tested with, or
   218 # leave the attribute unspecified.
   225 # leave the attribute unspecified.