Patchwork [2,of,3] color: document that changeset phases have labels

login
register
mail settings
Submitter Jordi Gutiérrez Hermoso
Date Aug. 24, 2014, 10:38 p.m.
Message ID <8469498daf77ee1426ee.1408919913@Iris>
Download mbox | patch
Permalink /patch/5578/
State Superseded
Headers show

Comments

Jordi Gutiérrez Hermoso - Aug. 24, 2014, 10:38 p.m.
# HG changeset patch
# User Jordi Gutiérrez Hermoso <jordigh@octave.org>
# Date 1408915648 14400
#      Sun Aug 24 17:27:28 2014 -0400
# Node ID 8469498daf77ee1426ee9dabdaa68e337382dca7
# Parent  91070d12638c10a6fe77d83ed5799f78a36901bf
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.

Patch

diff --git a/hgext/color.py b/hgext/color.py
--- a/hgext/color.py
+++ b/hgext/color.py
@@ -54,6 +54,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
 
@@ -264,6 +268,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',