Mercurial > hg
changeset 6364:b22b39059722
Make tip help more helpful
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 23 Mar 2008 21:40:27 +0100 |
parents | bbfebf751ac8 |
children | 1d3eb332f3cb |
files | mercurial/commands.py |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Mar 23 20:37:04 2008 +0100 +++ b/mercurial/commands.py Sun Mar 23 21:40:27 2008 +0100 @@ -2716,7 +2716,15 @@ def tip(ui, repo, **opts): """show the tip revision - Show the tip revision. + The tip revision (usually just called the tip) is the most + recently added changeset in the repository, the most recently + changed head. + + If you have just made a commit, that commit will be the + tip. Alternately, if you have just pulled changes from another + repository, the tip of that repository becomes the current tip. + The "tip" tag is special and can not be renamed or assigned to a + different changeset. """ cmdutil.show_changeset(ui, repo, opts).show(nullrev+repo.changelog.count())