Patchwork [3,of,4] configitems: register the 'progress.width' config

login
register
mail settings
Submitter Boris Feld
Date July 13, 2017, 3:05 p.m.
Message ID <5f2e71c738b41b8a864a.1499958344@FB>
Download mbox | patch
Permalink /patch/22290/
State Accepted
Headers show

Comments

Boris Feld - July 13, 2017, 3:05 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1498787045 -7200
#      Fri Jun 30 03:44:05 2017 +0200
# Node ID 5f2e71c738b41b8a864ae8c7b38eff41985ebd99
# Parent  ad57894ea839e08f6b4f2dd3eb5c779c4746202e
# EXP-Topic config.register.special-case
configitems: register the 'progress.width' config

Patch

diff -r ad57894ea839 -r 5f2e71c738b4 mercurial/configitems.py
--- a/mercurial/configitems.py	Wed Jul 12 23:36:28 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:44:05 2017 +0200
@@ -163,6 +163,9 @@ 
 coreconfigitem('progress', 'estimate',
     default=2,
 )
+coreconfigitem('progress', 'width',
+    default=dynamicdefault,
+)
 coreconfigitem('server', 'bundle1',
     default=True,
 )