Tip

hg tip [-p]

The tip revision (usually just called the tip) is the most recent changeset in the repository. The tip is the most recently changed head.

If you have just made a commit, that commit will be the tip. 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.

To get the changeset id of the tipmost changeset of a remote repository, you can do:

> hg id -i -r tip http://www.selenic.com/repo/hello
82e55d328c8c

When it changes, you have new changesets in the remote repository (see Identify).

Help text: http://www.selenic.com/mercurial/hg.1.html#tip


CategoryCommand CategoryGlossary

Tip (last edited 2008-06-04 23:15:10 by AdrianBuehlmann)