changeset 23091:8d43c6bb38c0 stable

doc: change 'revision or range' to 'revision or revset' The phrase "revision or range" comes from a pre-revset era. Since the documentation for ranges now is under the revset docs, and as a helpful hint nudging users towards revsets, I think it's better to say "revision or revset"
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 24 Oct 2014 13:50:00 -0400
parents 24600c9d7f4e
children 501dc6b1ca78
files contrib/zsh_completion hgext/churn.py hgext/graphlog.py mercurial/commands.py
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/zsh_completion	Tue Oct 28 01:14:12 2014 +0900
+++ b/contrib/zsh_completion	Fri Oct 24 13:50:00 2014 -0400
@@ -709,7 +709,7 @@
   '(-f --follow)--follow-first[only follow the first parent of merge changesets]' \
   '(--copies -C)'{-C,--copies}'[show copied files]' \
   '(--keyword -k)'{-k+,--keyword}'[search for a keyword]:' \
-  '*'{-r,--rev}'[show the specified revision or range]:revision:_hg_revrange' \
+  '*'{-r,--rev}'[show the specified revision or revset]:revision:_hg_revrange' \
   '(--only-merges -m)'{-m,--only-merges}'[show only merges]' \
   '(--prune -P)'{-P+,--prune}'[do not display revision or any of its ancestors]:revision:_hg_labels' \
   '(--graph -G)'{-G+,--graph}'[show the revision DAG]' \
--- a/hgext/churn.py	Tue Oct 28 01:14:12 2014 +0900
+++ b/hgext/churn.py	Fri Oct 24 13:50:00 2014 -0400
@@ -92,7 +92,7 @@
 
 @command('churn',
     [('r', 'rev', [],
-     _('count rate for the specified revision or range'), _('REV')),
+     _('count rate for the specified revision or revset'), _('REV')),
     ('d', 'date', '',
      _('count rate for revisions matching date spec'), _('DATE')),
     ('t', 'template', '{author|email}',
--- a/hgext/graphlog.py	Tue Oct 28 01:14:12 2014 +0900
+++ b/hgext/graphlog.py	Fri Oct 24 13:50:00 2014 -0400
@@ -31,7 +31,7 @@
     ('C', 'copies', None, _('show copied files')),
     ('k', 'keyword', [],
      _('do case-insensitive search for a given text'), _('TEXT')),
-    ('r', 'rev', [], _('show the specified revision or range'), _('REV')),
+    ('r', 'rev', [], _('show the specified revision or revset'), _('REV')),
     ('', 'removed', None, _('include revisions where files were removed')),
     ('m', 'only-merges', None, _('show only merges (DEPRECATED)')),
     ('u', 'user', [], _('revisions committed by user'), _('USER')),
--- a/mercurial/commands.py	Tue Oct 28 01:14:12 2014 +0900
+++ b/mercurial/commands.py	Fri Oct 24 13:50:00 2014 -0400
@@ -4322,7 +4322,7 @@
     ('C', 'copies', None, _('show copied files')),
     ('k', 'keyword', [],
      _('do case-insensitive search for a given text'), _('TEXT')),
-    ('r', 'rev', [], _('show the specified revision or range'), _('REV')),
+    ('r', 'rev', [], _('show the specified revision or revset'), _('REV')),
     ('', 'removed', None, _('include revisions where files were removed')),
     ('m', 'only-merges', None, _('show only merges (DEPRECATED)')),
     ('u', 'user', [], _('revisions committed by user'), _('USER')),