diff --git a/mercurial/commands.py b/mercurial/commands.py --- 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, diff --git a/tests/test-help.out b/tests/test-help.out --- 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