##// END OF EJS Templates
tip: deprecate the tip command
Matt Mackall -
r19403:9013f293 default
parent child Browse files
Show More
@@ -5692,7 +5692,7 b' def tags(ui, repo, **opts):'
5692 5692 ] + templateopts,
5693 5693 _('[-p] [-g]'))
5694 5694 def tip(ui, repo, **opts):
5695 """show the tip revision
5695 """show the tip revision (DEPRECATED)
5696 5696
5697 5697 The tip revision (usually just called the tip) is the changeset
5698 5698 most recently added to the repository (and therefore the most
@@ -5703,6 +5703,8 b' def tip(ui, repo, **opts):'
5703 5703 that repository becomes the current tip. The "tip" tag is special
5704 5704 and cannot be renamed or assigned to a different changeset.
5705 5705
5706 This command is deprecated, please use :hg:`heads` instead.
5707
5706 5708 Returns 0 on success.
5707 5709 """
5708 5710 displayer = cmdutil.show_changeset(ui, repo, opts)
@@ -332,7 +332,6 b' Testing -h/--help:'
332 332 summary summarize working directory state
333 333 tag add one or more tags for the current or given revision
334 334 tags list repository tags
335 tip show the tip revision
336 335 unbundle apply one or more changegroup files
337 336 update update working directory (or switch revisions)
338 337 verify verify the integrity of the repository
@@ -416,7 +415,6 b' Testing -h/--help:'
416 415 summary summarize working directory state
417 416 tag add one or more tags for the current or given revision
418 417 tags list repository tags
419 tip show the tip revision
420 418 unbundle apply one or more changegroup files
421 419 update update working directory (or switch revisions)
422 420 verify verify the integrity of the repository
@@ -97,7 +97,6 b' Short help:'
97 97 summary summarize working directory state
98 98 tag add one or more tags for the current or given revision
99 99 tags list repository tags
100 tip show the tip revision
101 100 unbundle apply one or more changegroup files
102 101 update update working directory (or switch revisions)
103 102 verify verify the integrity of the repository
@@ -175,7 +174,6 b' Short help:'
175 174 summary summarize working directory state
176 175 tag add one or more tags for the current or given revision
177 176 tags list repository tags
178 tip show the tip revision
179 177 unbundle apply one or more changegroup files
180 178 update update working directory (or switch revisions)
181 179 verify verify the integrity of the repository
@@ -662,7 +660,6 b' Test that default list of commands omits'
662 660 summary summarize working directory state
663 661 tag add one or more tags for the current or given revision
664 662 tags list repository tags
665 tip show the tip revision
666 663 unbundle apply one or more changegroup files
667 664 update update working directory (or switch revisions)
668 665 verify verify the integrity of the repository
@@ -1425,13 +1422,6 b' Dish up an empty repo; serve it cold.'
1425 1422 list repository tags
1426 1423 </td></tr>
1427 1424 <tr><td>
1428 <a href="/help/tip">
1429 tip
1430 </a>
1431 </td><td>
1432 show the tip revision
1433 </td></tr>
1434 <tr><td>
1435 1425 <a href="/help/unbundle">
1436 1426 unbundle
1437 1427 </a>
General Comments 0
You need to be logged in to leave comments. Login now