[PATCH 3 of 4 V3] color: add an alias called 'color' for 'label'
Sean Farley
sean.michael.farley at gmail.com
Mon Apr 7 17:12:48 CDT 2014
# HG changeset patch
# User Sean Farley <sean.michael.farley at gmail.com>
# Date 1396903107 18000
# Mon Apr 07 15:38:27 2014 -0500
# Node ID 6031d0dc64448a59acb44d7596f4d2a13860e569
# Parent c3f05ce58c1a48c70a6d998a6fe64533a28fb262
color: add an alias called 'color' for 'label'
diff --git a/mercurial/templater.py b/mercurial/templater.py
--- a/mercurial/templater.py
+++ b/mercurial/templater.py
@@ -482,10 +482,11 @@ funcs = {
"if": if_,
"ifcontains": ifcontains,
"ifeq": ifeq,
"join": join,
"label": label,
+ "color": label,
"pad": pad,
"revset": revset,
"rstdoc": rstdoc,
"shortest": shortest,
"strip": strip,
More information about the Mercurial-devel
mailing list