diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3491,7 +3491,7 @@ table = { ('n', 'newest-first', None, _('show newest record first')), ] + logopts + remoteopts, _('[-M] [-p] [-n] [-f] [-r REV]... [DEST]')), - "^parents": + "parents": (parents, [('r', 'rev', '', _('show parents from the specified revision')), ] + templateopts, diff --git a/tests/test-debugcomplete.out b/tests/test-debugcomplete.out --- a/tests/test-debugcomplete.out +++ b/tests/test-debugcomplete.out @@ -173,7 +173,6 @@ forget: include, exclude init: ssh, remotecmd log: follow, follow-first, date, copies, keyword, rev, removed, only-merges, user, only-branch, prune, patch, git, limit, no-merges, style, template, include, exclude merge: force, rev, preview -parents: rev, style, template pull: update, force, rev, ssh, remotecmd push: force, rev, ssh, remotecmd remove: after, force, include, exclude @@ -215,6 +214,7 @@ incoming: force, newest-first, bundle, r locate: rev, print0, fullpath, include, exclude manifest: rev outgoing: force, rev, newest-first, patch, git, limit, no-merges, style, template, ssh, remotecmd +parents: rev, style, template paths: recover: rename: after, force, include, exclude, dry-run diff --git a/tests/test-help.out b/tests/test-help.out --- a/tests/test-help.out +++ b/tests/test-help.out @@ -12,7 +12,6 @@ basic commands: init create a new repository in the given directory log show revision history of entire repository or files merge merge working directory with another revision - parents show the parents of the working directory 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 @@ -32,7 +31,6 @@ use "hg help" for the full list of comma init create a new repository in the given directory log show revision history of entire repository or files merge merge working directory with another revision - parents show the parents of the working directory 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 @@ -317,7 +315,6 @@ basic commands: init create a new repository in the given directory log show revision history of entire repository or files merge merge working directory with another revision - parents show the parents of the working directory 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 @@ -342,7 +339,6 @@ basic commands: init create a new repository in the given directory log show revision history of entire repository or files merge merge working directory with another revision - parents show the parents of the working directory 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 diff --git a/tests/test-qrecord.out b/tests/test-qrecord.out --- a/tests/test-qrecord.out +++ b/tests/test-qrecord.out @@ -14,7 +14,6 @@ basic commands: init create a new repository in the given directory log show revision history of entire repository or files merge merge working directory with another revision - parents show the parents of the working directory 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 diff --git a/tests/test-strict.out b/tests/test-strict.out --- a/tests/test-strict.out +++ b/tests/test-strict.out @@ -15,7 +15,6 @@ basic commands: init create a new repository in the given directory log show revision history of entire repository or files merge merge working directory with another revision - parents show the parents of the working directory 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