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