Mercurial > hg
changeset 31124:791ea883fc44
config: suggest the 'ui.color' instead of the 'color' extension
The extensions is deprecated now so we should offer the core way to handle color
instead.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Tue, 21 Feb 2017 22:17:33 +0100 |
parents | df0a0734304a |
children | 01a0ea04c372 |
files | mercurial/ui.py |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/ui.py Tue Feb 21 20:04:55 2017 +0100 +++ b/mercurial/ui.py Tue Feb 21 22:17:33 2017 +0100 @@ -55,12 +55,14 @@ # username = Jane Doe <jdoe@example.com> username = +# uncomment to colorize command output +# color = auto + [extensions] # uncomment these lines to enable some popular extensions # (see 'hg help extensions' for more info) # -# pager = -# color =""", +# pager =""", 'cloned': """# example repository config (see 'hg help config' for more info) @@ -98,12 +100,15 @@ 'global': """# example system-wide hg config (see 'hg help config' for more info) +[ui] +# uncomment to colorize command output +# color = auto + [extensions] # uncomment these lines to enable some popular extensions # (see 'hg help extensions' for more info) # # blackbox = -# color = # pager =""", }