Differences between revisions 12 and 13
Revision 12 as of 2012-06-27 18:28:09
Size: 1227
Editor: jaraco
Comment: Added section referring to more detailed documentation in the client.
Revision 13 as of 2013-08-30 05:27:59
Size: 396
Editor: Katherine
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Revision number ==

A revision number is a small integer.

It is a strictly __local__ ''convenience identifier'' for a [[Revision|revision]]. It can be useful as it is shorter to type than the 40-digit hexadecimal string that uniquely identifies a revision.

=== Common usage ===

Although all files have revision numbers, revision numbers are almost always used to identify a [[ChangeSet|changeset]] within a given [[Repository|repository]].

=== Pitfalls ===

Revision numbers referring to changesets are ''very likely'' to be different in another copy of a repository. ''Do not use them'' to talk about changesets with other people. Use the [[ChangeSetID|changeset ID]] instead.

=== More information ===

The Mercurial command-line client provides much more detailed information on Revision Sets. Just run:

{{{
$ hg help revsets
}}}

=== Notes ===
An empty repository (with no changesets) has a revision number -1, which corresponds to the '''nullid''' [[Nodeid|nodeid]].
For example:
{{{
$ hg log
$ hg status
$ hg head
changeset: -1:000000000000
tag: tip
user:
date: Thu Jan 01 00:00:00 1970 +0000
}}}

----
CategoryGlossary

[[FrenchRevisionNumber|Français]]
Annelle is the name my parents gave me and I totally love this name. Since I was 18 I've been working because an administrative assistant. Years ago we moved to New Mexico. One of the very best aspects inside the world for me is home brewing and I've been doing it for very a while. Check out my site here: http://amigosdivebelize.com/index.php?option=com_blog&view=comments&pid=480743&Itemid=0

Annelle is the name my parents gave me and I totally love this name. Since I was 18 I've been working because an administrative assistant. Years ago we moved to New Mexico. One of the very best aspects inside the world for me is home brewing and I've been doing it for very a while. Check out my site here: http://amigosdivebelize.com/index.php?option=com_blog&view=comments&pid=480743&Itemid=0

RevisionNumber (last edited 2013-08-30 06:13:09 by rcl)