Elevate parents to a "common" command in help
authorMatt Mackall <mpm@selenic.com>
Thu, 27 Oct 2005 13:49:15 -0700
changeset 1475 d791c335fb7b
parent 1474 1e47f6fc0fdc
child 1476 17e8c70fb670
Elevate parents to a "common" command in help
mercurial/commands.py
tests/test-help.out
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2269,7 +2269,7 @@ table = {
           ('p', 'patch', None, _('show patch')),
           ('n', 'newest-first', None, _('show newest record first'))],
          _('hg outgoing [-p] [-n] [-M] [DEST]')),
-    "parents": (parents, [], _('hg parents [REV]')),
+    "^parents": (parents, [], _('hg parents [REV]')),
     "paths": (paths, [], _('hg paths [NAME]')),
     "^pull":
         (pull,
--- a/tests/test-help.out
+++ b/tests/test-help.out
@@ -10,6 +10,7 @@ basic commands (use "hg help" for the fu
  export     dump the header and diffs for one or more changesets
  init       create a new repository in the given directory
  log        show revision history of entire repository or files
+ parents    show the parents of the working dir or revision
  pull       pull changes from the specified source
  push       push changes to the specified destination
  remove     remove the specified files on the next commit
@@ -25,6 +26,7 @@ basic commands (use "hg help" for the fu
  export     dump the header and diffs for one or more changesets
  init       create a new repository in the given directory
  log        show revision history of entire repository or files
+ parents    show the parents of the working dir or revision
  pull       pull changes from the specified source
  push       push changes to the specified destination
  remove     remove the specified files on the next commit
@@ -215,6 +217,7 @@ basic commands (use "hg help" for the fu
  export     dump the header and diffs for one or more changesets
  init       create a new repository in the given directory
  log        show revision history of entire repository or files
+ parents    show the parents of the working dir or revision
  pull       pull changes from the specified source
  push       push changes to the specified destination
  remove     remove the specified files on the next commit
@@ -235,6 +238,7 @@ basic commands (use "hg help" for the fu
  export     dump the header and diffs for one or more changesets
  init       create a new repository in the given directory
  log        show revision history of entire repository or files
+ parents    show the parents of the working dir or revision
  pull       pull changes from the specified source
  push       push changes to the specified destination
  remove     remove the specified files on the next commit