[PATCH] churn: deprecate -t option in favour of -T
Jordi Gutiérrez Hermoso
jordigh at octave.org
Tue Feb 24 16:38:26 UTC 2015
# HG changeset patch
# User Jordi Gutiérrez Hermoso <jordigh at octave.org>
# Date 1424795827 18000
# Tue Feb 24 11:37:07 2015 -0500
# Node ID cc4639fe9a82241193e10d626ec22550260ca819
# Parent ff5caa8dfd993680d9602ca6ebb14da9de10d5f4
churn: deprecate -t option in favour of -T
We use -T consistently elsewhere to refer to the --template option.
diff --git a/hgext/churn.py b/hgext/churn.py
--- a/hgext/churn.py
+++ b/hgext/churn.py
@@ -96,6 +96,8 @@ def countrate(ui, repo, amap, *pats, **o
('d', 'date', '',
_('count rate for revisions matching date spec'), _('DATE')),
('t', 'template', '{author|email}',
+ _('template to group changesets (DEPRECATED)'), _('TEMPLATE')),
+ ('T', 'template', '{author|email}',
_('template to group changesets'), _('TEMPLATE')),
('f', 'dateformat', '',
_('strftime-compatible format for grouping by date'), _('FORMAT')),
More information about the Mercurial-devel
mailing list