Mercurial > hg-stable
changeset 19403:9013f2930a4a
tip: deprecate the tip command
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 11 Jul 2013 19:29:23 -0500 |
parents | c7a7bae3cfa3 |
children | b4744c3b991e |
files | mercurial/commands.py tests/test-globalopts.t tests/test-help.t |
diffstat | 3 files changed, 3 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Jul 11 19:28:54 2013 -0500 +++ b/mercurial/commands.py Thu Jul 11 19:29:23 2013 -0500 @@ -5692,7 +5692,7 @@ ] + templateopts, _('[-p] [-g]')) def tip(ui, repo, **opts): - """show the tip revision + """show the tip revision (DEPRECATED) The tip revision (usually just called the tip) is the changeset most recently added to the repository (and therefore the most @@ -5703,6 +5703,8 @@ that repository becomes the current tip. The "tip" tag is special and cannot be renamed or assigned to a different changeset. + This command is deprecated, please use :hg:`heads` instead. + Returns 0 on success. """ displayer = cmdutil.show_changeset(ui, repo, opts)
--- a/tests/test-globalopts.t Thu Jul 11 19:28:54 2013 -0500 +++ b/tests/test-globalopts.t Thu Jul 11 19:29:23 2013 -0500 @@ -332,7 +332,6 @@ summary summarize working directory state tag add one or more tags for the current or given revision tags list repository tags - tip show the tip revision unbundle apply one or more changegroup files update update working directory (or switch revisions) verify verify the integrity of the repository @@ -416,7 +415,6 @@ summary summarize working directory state tag add one or more tags for the current or given revision tags list repository tags - tip show the tip revision unbundle apply one or more changegroup files update update working directory (or switch revisions) verify verify the integrity of the repository
--- a/tests/test-help.t Thu Jul 11 19:28:54 2013 -0500 +++ b/tests/test-help.t Thu Jul 11 19:29:23 2013 -0500 @@ -97,7 +97,6 @@ summary summarize working directory state tag add one or more tags for the current or given revision tags list repository tags - tip show the tip revision unbundle apply one or more changegroup files update update working directory (or switch revisions) verify verify the integrity of the repository @@ -175,7 +174,6 @@ summary summarize working directory state tag add one or more tags for the current or given revision tags list repository tags - tip show the tip revision unbundle apply one or more changegroup files update update working directory (or switch revisions) verify verify the integrity of the repository @@ -662,7 +660,6 @@ summary summarize working directory state tag add one or more tags for the current or given revision tags list repository tags - tip show the tip revision unbundle apply one or more changegroup files update update working directory (or switch revisions) verify verify the integrity of the repository @@ -1425,13 +1422,6 @@ list repository tags </td></tr> <tr><td> - <a href="/help/tip"> - tip - </a> - </td><td> - show the tip revision - </td></tr> - <tr><td> <a href="/help/unbundle"> unbundle </a>