# HG changeset patch # User Matt Mackall # Date 1130446155 25200 # Node ID d791c335fb7b8ea376d046721a064c95744f3819 # Parent 1e47f6fc0fdcb84b5650166d7c75dbf8e53a489a Elevate parents to a "common" command in help diff -r 1e47f6fc0fdc -r d791c335fb7b mercurial/commands.py --- 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, diff -r 1e47f6fc0fdc -r d791c335fb7b tests/test-help.out --- 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