[PATCH 2 of 3] color: document that changeset phases have labels
Jordi Gutiérrez Hermoso
jordigh at octave.org
Mon Aug 25 21:07:20 UTC 2014
# HG changeset patch
# User Jordi Gutiérrez Hermoso <jordigh at octave.org>
# Date 1408915648 14400
# Sun Aug 24 17:27:28 2014 -0400
# Node ID e3d8c9678c12bdbba5954434d0e849d3a21f77da
# Parent c5f6568355f263842344e08dd2b74051c869324d
color: document that changeset phases have labels
It's very useful to be able to colourise csets according to their
phases. There was no indication anywhere in the docs that this is
possible.
diff --git a/hgext/color.py b/hgext/color.py
--- a/hgext/color.py
+++ b/hgext/color.py
@@ -53,6 +53,10 @@ effects may be overridden from your conf
diff.tab = none
diff.trailingwhitespace = bold red_background
+ changeset.public = none
+ changeset.draft = none
+ changeset.secret = none
+
resolve.unresolved = red bold
resolve.resolved = green bold
@@ -263,6 +267,9 @@ except ImportError:
'diff.inserted': 'green',
'diff.tab': 'none',
'diff.trailingwhitespace': 'bold red_background',
+ 'changeset.public' : 'none',
+ 'changeset.draft' : 'none',
+ 'changeset.secret' : 'none',
'diffstat.deleted': 'red',
'diffstat.inserted': 'green',
'histedit.remaining': 'red bold',
More information about the Mercurial-devel
mailing list