##// END OF EJS Templates
configitems: register the 'histedit.defaultrev' config
Boris Feld -
r34472:6567002a default
parent child Browse files
Show More
@@ -188,6 +188,7 b' 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,
@@ -212,6 +213,12 b' release = lock.release'
212 cmdtable = {}
213 cmdtable = {}
213 command = registrar.command(cmdtable)
214 command = registrar.command(cmdtable)
214
215
216 configtable = {}
217 configitem = registrar.configitem(configtable)
218 configitem('histedit', 'defaultrev',
219 default=configitems.dynamicdefault,
220 )
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
General Comments 0
You need to be logged in to leave comments. Login now