Patchwork [1,of,2] color: update description of the extension

login
register
mail settings
Submitter Jordi Gutiérrez Hermoso
Date Oct. 6, 2014, 2:58 p.m.
Message ID <d81f747d2c71ee3f8195.1412607489@Iris>
Download mbox | patch
Permalink /patch/6145/
State Accepted
Commit d6274291fac1106ddcfe7035537e1d14b024484f
Headers show

Comments

Jordi Gutiérrez Hermoso - Oct. 6, 2014, 2:58 p.m.
# HG changeset patch
# User Jordi Gutiérrez Hermoso <jordigh@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.

Patch

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@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