[PATCH 1 of 5] color: add basic documentation to 'debugcolor'

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Nov 3 15:56:32 UTC 2016


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1478178752 -3600
#      Thu Nov 03 14:12:32 2016 +0100
# Node ID eb48068030c410636db6c862921f1c3b3372601d
# Parent  b032a7b676c6637b2ac6f3ef29431013b15a08f9
# EXP-Topic debugcolor
color: add basic documentation to 'debugcolor'

This does not hurt.

diff --git a/hgext/color.py b/hgext/color.py
--- a/hgext/color.py
+++ b/hgext/color.py
@@ -538,6 +538,7 @@ def extsetup(ui):
 
 @command('debugcolor', [], 'hg debugcolor')
 def debugcolor(ui, repo, **opts):
+    """show available colors and effects"""
     global _styles
     _styles = {}
     for effect in _effects.keys():


More information about the Mercurial-devel mailing list