Mercurial > hg
changeset 22771:d6274291fac1
color: update description of the extension
The color extension long ago ceased to work only for the status and
qseries commands.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Mon, 06 Oct 2014 08:16:40 -0400 |
parents | de9424647fe4 |
children | b186b3ef4b54 |
files | hgext/color.py |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/color.py Mon Oct 06 07:35:53 2014 -0400 +++ b/hgext/color.py Mon Oct 06 08:16:40 2014 -0400 @@ -1,4 +1,4 @@ -# color.py color output for the status and qseries commands +# color.py color output for Mercurial commands # # Copyright (C) 2007 Kevin Christen <kevin.christen@gmail.com> # @@ -7,11 +7,11 @@ '''colorize output from some commands -This extension modifies the status and resolve commands to add color -to their output to reflect file status, the qseries command to add -color to reflect patch status (applied, unapplied, missing), and to -diff-related commands to highlight additions, removals, diff headers, -tabs, and trailing whitespace. +The color extension colorizes output from several Mercurial commands. +For example, the diff command shows additions in green and deletions +in red, while the status command shows modified files in magenta. Many +other commands have analogous colors. It is possible to customize +these colors. Other effects in addition to color, like bold and underlined text, are also available. By default, the terminfo database is used to find the