diff mercurial/configitems.py @ 33181:95c57596b380

configitems: register the 'color.mode' config
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 30 Jun 2017 03:32:09 +0200
parents be723e2afd3d
children 21383dbb3611
line wrap: on
line diff
--- a/mercurial/configitems.py	Sat Jul 01 21:57:17 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:32:09 2017 +0200
@@ -56,6 +56,9 @@
 
 coreconfigitem = getitemregister(coreitems)
 
+coreconfigitem('color', 'mode',
+    default='auto',
+)
 coreconfigitem('devel', 'all-warnings',
     default=False,
 )