Patchwork [2,of,6] configitems: register the 'histedit.dropmissing' config

login
register
mail settings
Submitter Boris Feld
Date Oct. 4, 2017, 1:54 p.m.
Message ID <04e7d86073c7db82a1d6.1507125247@FB>
Download mbox | patch
Permalink /patch/24475/
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 1498786958 -7200
#      Fri Jun 30 03:42:38 2017 +0200
# Node ID 04e7d86073c7db82a1d626c1bdeb6b40a5df9722
# Parent  a1d86c040bd28d7f96e107d55e7a0cdda2bd63ec
# EXP-Topic config.register.histedit
configitems: register the 'histedit.dropmissing' config

Patch

diff -r a1d86c040bd2 -r 04e7d86073c7 hgext/histedit.py
--- a/hgext/histedit.py	Fri Jun 30 03:42:37 2017 +0200
+++ b/hgext/histedit.py	Fri Jun 30 03:42:38 2017 +0200
@@ -218,6 +218,9 @@ 
 configitem('histedit', 'defaultrev',
     default=configitems.dynamicdefault,
 )
+configitem('histedit', 'dropmissing',
+    default=False,
+)
 
 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should