[issue1506] color and hg extract

Gerhard mercurial-bugs at selenic.com
Mon Feb 9 03:12:42 CST 2009


New submission from Gerhard <enteiser at googlemail.com>:

There are the following lines in my .hgrc:

[extensions]
color =

[color]
diff.diffline = bold
diff.extended = cyan bold
diff.file_a = red bold
diff.file_b = green bold
diff.hunk = magenta
diff.deleted = red
diff.inserted = green
diff.changed = white
diff.trailingwhitespace = bold red_background

"hg diff" is colorized then, but the documentation of the color
extension says:

   This extension modifies the status command to add color to its 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, and trailing whitespace.

"hg export tip" is not colorized, even though it is a diff related command.

$ hg --version
Mercurial Distributed SCM (version 1.1.2)

Copyright (C) 2005-2008 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

----------
messages: 8568
nosy: pfix
priority: feature
status: unread
title: color and hg extract

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1506>
____________________________________________________



More information about the Mercurial-devel mailing list