doc: change 'revision or range' to 'revision or revset' stable
authorJordi Gutiérrez Hermoso <jordigh@octave.org>
Fri, 24 Oct 2014 13:50:00 -0400
branchstable
changeset 23091 8d43c6bb38c0
parent 23090 24600c9d7f4e
child 23092 501dc6b1ca78
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"
contrib/zsh_completion
hgext/churn.py
hgext/graphlog.py
mercurial/commands.py
--- 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')),