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	Thu Oct 27 13:48:00 2005 -0700
+++ b/mercurial/commands.py	Thu Oct 27 13:49:15 2005 -0700
@@ -2269,7 +2269,7 @@
           ('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	Thu Oct 27 13:48:00 2005 -0700
+++ b/tests/test-help.out	Thu Oct 27 13:49:15 2005 -0700
@@ -10,6 +10,7 @@
  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 @@
  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 @@
  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 @@
  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