--- a/hgext/histedit.py Fri Jun 30 03:44:30 2017 +0200
+++ b/hgext/histedit.py Fri Jun 30 03:42:37 2017 +0200
@@ -188,6 +188,7 @@
from mercurial import (
bundle2,
cmdutil,
+ configitems,
context,
copies,
destutil,
@@ -212,6 +213,12 @@
cmdtable = {}
command = registrar.command(cmdtable)
+configtable = {}
+configitem = registrar.configitem(configtable)
+configitem('histedit', 'defaultrev',
+ default=configitems.dynamicdefault,
+)
+
# Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
# be specifying the version(s) of Mercurial they are tested with, or