expand "rev" to "revision" in help texts
authorMartin Geisler <mg@lazybytes.net>
Tue, 07 Apr 2009 23:06:50 +0200
changeset 8028 3aaca5901ade
parent 8027 9c7ca86fc658
child 8029 e0c434abd530
expand "rev" to "revision" in help texts
hgext/children.py
hgext/churn.py
hgext/convert/cvsps.py
hgext/mq.py
mercurial/commands.py
tests/test-mq.out
--- a/hgext/children.py	Tue Apr 07 22:58:05 2009 +0200
+++ b/hgext/children.py	Tue Apr 07 23:06:50 2009 +0200
@@ -35,7 +35,7 @@
 cmdtable = {
     "children":
         (children,
-         [('r', 'rev', '', _('show children of the specified rev')),
+         [('r', 'rev', '', _('show children of the specified revision')),
          ] + templateopts,
          _('hg children [-r REV] [FILE]')),
 }
--- a/hgext/churn.py	Tue Apr 07 22:58:05 2009 +0200
+++ b/hgext/churn.py	Tue Apr 07 23:06:50 2009 +0200
@@ -150,7 +150,7 @@
     "churn":
         (churn,
          [('r', 'rev', [], _('count rate for the specified revision or range')),
-          ('d', 'date', '', _('count rate for revs matching date spec')),
+          ('d', 'date', '', _('count rate for revisions matching date spec')),
           ('t', 'template', '{author|email}', _('template to group changesets')),
           ('f', 'dateformat', '',
               _('strftime-compatible format for grouping by date')),
--- a/hgext/convert/cvsps.py	Tue Apr 07 22:58:05 2009 +0200
+++ b/hgext/convert/cvsps.py	Tue Apr 07 23:06:50 2009 +0200
@@ -370,7 +370,7 @@
               e.revision[-1] == 1 and      # 1.1 or 1.1.x.1
               len(e.comment) == 1 and
               file_added_re.match(e.comment[0])):
-            ui.debug(_('found synthetic rev in %s: %r\n')
+            ui.debug(_('found synthetic revision in %s: %r\n')
                      % (e.rcs, e.comment[0]))
             e.synthetic = True
 
--- a/hgext/mq.py	Tue Apr 07 22:58:05 2009 +0200
+++ b/hgext/mq.py	Tue Apr 07 23:06:50 2009 +0200
@@ -2178,7 +2178,7 @@
     q.save_dirty()
 
 def restore(ui, repo, rev, **opts):
-    """restore the queue state saved by a rev"""
+    """restore the queue state saved by a revision"""
     rev = repo.lookup(rev)
     q = repo.mq
     q.restore(repo, rev, delete=opts['delete'],
--- a/mercurial/commands.py	Tue Apr 07 22:58:05 2009 +0200
+++ b/mercurial/commands.py	Tue Apr 07 23:06:50 2009 +0200
@@ -3220,7 +3220,7 @@
            _('follow changeset history, or file history across copies and renames')),
           ('i', 'ignore-case', None, _('ignore case when matching')),
           ('l', 'files-with-matches', None,
-           _('print only filenames and revs that match')),
+           _('print only filenames and revisions that match')),
           ('n', 'line-number', None, _('print matching line numbers')),
           ('r', 'rev', [], _('search in given revision range')),
           ('u', 'user', None, _('list the author (long with -v)')),
@@ -3237,7 +3237,7 @@
     "help": (help_, [], _('[TOPIC]')),
     "identify|id":
         (identify,
-         [('r', 'rev', '', _('identify the specified rev')),
+         [('r', 'rev', '', _('identify the specified revision')),
           ('n', 'num', None, _('show local revision number')),
           ('i', 'id', None, _('show global revision id')),
           ('b', 'branch', None, _('show branch')),
@@ -3288,13 +3288,13 @@
            _('follow changeset history, or file history across copies and renames')),
           ('', 'follow-first', None,
            _('only follow the first parent of merge changesets')),
-          ('d', 'date', '', _('show revs matching date spec')),
+          ('d', 'date', '', _('show revisions matching date spec')),
           ('C', 'copies', None, _('show copied files')),
           ('k', 'keyword', [], _('do case-insensitive search for a keyword')),
           ('r', 'rev', [], _('show the specified revision or range')),
-          ('', 'removed', None, _('include revs where files were removed')),
+          ('', 'removed', None, _('include revisions where files were removed')),
           ('m', 'only-merges', None, _('show only merges')),
-          ('u', 'user', [], _('revs committed by user')),
+          ('u', 'user', [], _('revisions committed by user')),
           ('b', 'only-branch', [],
             _('show only changesets within the given named branch')),
           ('P', 'prune', [], _('do not display revision or any of its ancestors')),
@@ -3321,7 +3321,7 @@
          _('[-M] [-p] [-n] [-f] [-r REV]... [DEST]')),
     "^parents":
         (parents,
-         [('r', 'rev', '', _('show parents from the specified rev')),
+         [('r', 'rev', '', _('show parents from the specified revision')),
          ] + templateopts,
          _('hg parents [-r REV] [FILE]')),
     "paths": (paths, [], _('[NAME]')),
--- a/tests/test-mq.out	Tue Apr 07 22:58:05 2009 +0200
+++ b/tests/test-mq.out	Tue Apr 07 23:06:50 2009 +0200
@@ -43,7 +43,7 @@
  qpush        push the next patch onto the stack
  qrefresh     update the current patch
  qrename      rename a patch
- qrestore     restore the queue state saved by a rev
+ qrestore     restore the queue state saved by a revision
  qsave        save current queue state
  qselect      set or print guarded patches to push
  qseries      print the entire series file