[PATCH 1 of 2] color: update description of the extension

Jordi Gutiérrez Hermoso jordigh at octave.org
Mon Oct 6 14:58:09 UTC 2014


# HG changeset patch
# User Jordi Gutiérrez Hermoso <jordigh at octave.org>
# Date 1412597800 14400
#      Mon Oct 06 08:16:40 2014 -0400
# Node ID d81f747d2c71ee3f81956f6d2872002719b2bb53
# Parent  278968c64185b30b99713f14c349c04e1e3f6131
color: update description of the extension

The color extension log ago ceased to work only for the status and
qseries commands.

diff --git a/hgext/color.py b/hgext/color.py
--- a/hgext/color.py
+++ b/hgext/color.py
@@ -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 at 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


More information about the Mercurial-devel mailing list