2714 ui.write("%s%s %s%s\n" % (t, spaces, r, tagtype)) |
2714 ui.write("%s%s %s%s\n" % (t, spaces, r, tagtype)) |
2715 |
2715 |
2716 def tip(ui, repo, **opts): |
2716 def tip(ui, repo, **opts): |
2717 """show the tip revision |
2717 """show the tip revision |
2718 |
2718 |
2719 Show the tip revision. |
2719 The tip revision (usually just called the tip) is the most |
|
2720 recently added changeset in the repository, the most recently |
|
2721 changed head. |
|
2722 |
|
2723 If you have just made a commit, that commit will be the |
|
2724 tip. Alternately, if you have just pulled changes from another |
|
2725 repository, the tip of that repository becomes the current tip. |
|
2726 The "tip" tag is special and can not be renamed or assigned to a |
|
2727 different changeset. |
2720 """ |
2728 """ |
2721 cmdutil.show_changeset(ui, repo, opts).show(nullrev+repo.changelog.count()) |
2729 cmdutil.show_changeset(ui, repo, opts).show(nullrev+repo.changelog.count()) |
2722 |
2730 |
2723 def unbundle(ui, repo, fname1, *fnames, **opts): |
2731 def unbundle(ui, repo, fname1, *fnames, **opts): |
2724 """apply one or more changegroup files |
2732 """apply one or more changegroup files |