Mercurial > hg
comparison mercurial/help/revisions.txt @ 30767:bbb5cc55ab8b
help: use a single paragraph to describe full and abbreviated nodeids
The texts describing 40-digit strings and the abbreviated form are
closely related, so make it a single paragraph.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 11 Jan 2017 11:28:54 -0800 |
parents | 4edd179fefb8 |
children | e520f0f4b1cf |
comparison
equal
deleted
inserted
replaced
30766:d7bf7d2bd5ab | 30767:bbb5cc55ab8b |
---|---|
2 | 2 |
3 A plain integer is treated as a revision number. Negative integers are | 3 A plain integer is treated as a revision number. Negative integers are |
4 treated as sequential offsets from the tip, with -1 denoting the tip, | 4 treated as sequential offsets from the tip, with -1 denoting the tip, |
5 -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 identifier. |
8 identifier. | |
9 | |
10 A hexadecimal string less than 40 characters long is treated as a | 8 A hexadecimal string less than 40 characters long is treated as a |
11 unique revision identifier and is referred to as a short-form | 9 unique revision identifier and is referred to as a short-form |
12 identifier. A short-form identifier is only valid if it is the prefix | 10 identifier. A short-form identifier is only valid if it is the prefix |
13 of exactly one full-length identifier. | 11 of exactly one full-length identifier. |
14 | 12 |