##// END OF EJS Templates
help: improve "hg help revisions"...
Stuart W Marks -
r9302:73bec717 default
parent child Browse files
Show More
@@ -264,22 +264,21 b' PYTHONPATH::'
264 Mercurial supports several ways to specify individual revisions.
264 Mercurial supports several ways to specify individual revisions.
265
265
266 A plain integer is treated as a revision number. Negative integers
266 A plain integer is treated as a revision number. Negative integers
267 are treated as topological offsets from the tip, with -1 denoting
267 are treated as sequential offsets from the tip, with -1 denoting
268 the tip. As such, negative numbers are only useful if you've
268 the tip, -2 denoting the revision prior to the tip, and so forth.
269 memorized your local tree numbers and want to save typing a single
270 digit. This editor suggests copy and paste.
271
269
272 A 40-digit hexadecimal string is treated as a unique revision
270 A 40-digit hexadecimal string is treated as a unique revision
273 identifier.
271 identifier.
274
272
275 A hexadecimal string less than 40 characters long is treated as a
273 A hexadecimal string less than 40 characters long is treated as a
276 unique revision identifier, and referred to as a short-form
274 unique revision identifier and is referred to as a short-form
277 identifier. A short-form identifier is only valid if it is the
275 identifier. A short-form identifier is only valid if it is the
278 prefix of exactly one full-length identifier.
276 prefix of exactly one full-length identifier.
279
277
280 Any other string is treated as a tag name, which is a symbolic
278 Any other string is treated as a tag or branch name. A tag name is
281 name associated with a revision identifier. Tag names may not
279 a symbolic name associated with a revision identifier. A branch
282 contain the ":" character.
280 name denotes the tipmost revision of that branch. Tag and branch
281 names must not contain the ":" character.
283
282
284 The reserved name "tip" is a special tag that always identifies
283 The reserved name "tip" is a special tag that always identifies
285 the most recent revision.
284 the most recent revision.
General Comments 0
You need to be logged in to leave comments. Login now