# HG changeset patch # User Pierre-Yves David # Date 1487711853 -3600 # Node ID 791ea883fc44faee4f115b7cd64813ca702ccd60 # Parent df0a0734304ad371c8707c57011afce46df1854d 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. diff -r df0a0734304a -r 791ea883fc44 mercurial/ui.py --- 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 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 =""", }