Patchwork [5,of,6] configitems: register the 'experimental.histedit.autoverb' config

login
register
mail settings
Submitter Boris Feld
Date Oct. 4, 2017, 1:54 p.m.
Message ID <d74488c426c9302f7d32.1507125250@FB>
Download mbox | patch
Permalink /patch/24479/
State Accepted
Headers show

Comments

Boris Feld - Oct. 4, 2017, 1:54 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1498786879 -7200
#      Fri Jun 30 03:41:19 2017 +0200
# Node ID d74488c426c9302f7d32a8954a5b1aa434a0aeae
# Parent  c991c20c48c65adf35eea827c6f99a1bd92b8195
# EXP-Topic config.register.histedit
configitems: register the 'experimental.histedit.autoverb' config

Patch

diff -r c991c20c48c6 -r d74488c426c9 hgext/histedit.py
--- a/hgext/histedit.py	Fri Jun 30 03:42:40 2017 +0200
+++ b/hgext/histedit.py	Fri Jun 30 03:41:19 2017 +0200
@@ -215,6 +215,9 @@ 
 
 configtable = {}
 configitem = registrar.configitem(configtable)
+configitem('experimental', 'histedit.autoverb',
+    default=False,
+)
 configitem('histedit', 'defaultrev',
     default=configitems.dynamicdefault,
 )