diff mercurial/color.py @ 31123:df0a0734304a

color: update main documentation Now that the feature no longer lives in the extension, we document it in the help of the core config. This include the new 'ui.color' option introduced in the previous changesets. As a result the color extensions can now be deprecated. This is a documentation patch only; color is still disabled by default.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 21 Feb 2017 20:04:55 +0100
parents 6483e49204ee
children 31d2ddfd338c
line wrap: on
line diff
--- a/mercurial/color.py	Tue Feb 28 20:12:08 2017 +0100
+++ b/mercurial/color.py	Tue Feb 21 20:04:55 2017 +0100
@@ -187,7 +187,6 @@
     default = 'never'
     if _enabledbydefault:
         default = 'auto'
-    # experimental config: ui.color
     config = ui.config('ui', 'color', default)
     if config == 'debug':
         return 'debug'