comparison help/revisions.txt @ 9540:cad36e496640

help: un-indent help topics The help topics are reused in the HTML documentation, and there it looks odd that whole sections are indented. We now only indent it for output on the terminal.
author Martin Geisler <mg@lazybytes.net>
date Sun, 04 Oct 2009 12:18:43 +0200
parents c904e76e3834
children
comparison
equal deleted inserted replaced
9539:c904e76e3834 9540:cad36e496640
1 Mercurial supports several ways to specify individual revisions. 1 Mercurial supports several ways to specify individual revisions.
2 2
3 A plain integer is treated as a revision number. Negative integers 3 A plain integer is treated as a revision number. Negative integers are
4 are treated as sequential offsets from the tip, with -1 denoting 4 treated as sequential offsets from the tip, with -1 denoting the tip,
5 the tip, -2 denoting the revision prior to the tip, and so forth. 5 -2 denoting the revision prior to the tip, and so forth.
6 6
7 A 40-digit hexadecimal string is treated as a unique revision 7 A 40-digit hexadecimal string is treated as a unique revision
8 identifier. 8 identifier.
9 9
10 A hexadecimal string less than 40 characters long is treated as a 10 A hexadecimal string less than 40 characters long is treated as a
11 unique revision identifier and is referred to as a short-form 11 unique revision identifier and is referred to as a short-form
12 identifier. A short-form identifier is only valid if it is the 12 identifier. A short-form identifier is only valid if it is the prefix
13 prefix of exactly one full-length identifier. 13 of exactly one full-length identifier.
14 14
15 Any other string is treated as a tag or branch name. A tag name is 15 Any other string is treated as a tag or branch name. A tag name is a
16 a symbolic name associated with a revision identifier. A branch 16 symbolic name associated with a revision identifier. A branch name
17 name denotes the tipmost revision of that branch. Tag and branch 17 denotes the tipmost revision of that branch. Tag and branch names must
18 names must not contain the ":" character. 18 not contain the ":" character.
19 19
20 The reserved name "tip" is a special tag that always identifies 20 The reserved name "tip" is a special tag that always identifies the
21 the most recent revision. 21 most recent revision.
22 22
23 The reserved name "null" indicates the null revision. This is the 23 The reserved name "null" indicates the null revision. This is the
24 revision of an empty repository, and the parent of revision 0. 24 revision of an empty repository, and the parent of revision 0.
25 25
26 The reserved name "." indicates the working directory parent. If 26 The reserved name "." indicates the working directory parent. If no
27 no working directory is checked out, it is equivalent to null. If 27 working directory is checked out, it is equivalent to null. If an
28 an uncommitted merge is in progress, "." is the revision of the 28 uncommitted merge is in progress, "." is the revision of the first
29 first parent. 29 parent.