comparison mercurial/help.py @ 9303:c9d71b317832

Merge with crew-stable
author Martin Geisler <mg@lazybytes.net>
date Mon, 03 Aug 2009 10:28:09 +0200
parents fbe7172026f7 73bec717b825
children 9a69ab6d7cf7
comparison
equal deleted inserted replaced
9301:ad4501d20214 9303:c9d71b317832
263 (['revs', 'revisions'], _('Specifying Single Revisions'), 263 (['revs', 'revisions'], _('Specifying Single Revisions'),
264 _(r''' 264 _(r'''
265 Mercurial supports several ways to specify individual revisions. 265 Mercurial supports several ways to specify individual revisions.
266 266
267 A plain integer is treated as a revision number. Negative integers 267 A plain integer is treated as a revision number. Negative integers
268 are treated as topological offsets from the tip, with -1 denoting 268 are treated as sequential offsets from the tip, with -1 denoting
269 the tip. As such, negative numbers are only useful if you've 269 the tip, -2 denoting the revision prior to the tip, and so forth.
270 memorized your local tree numbers and want to save typing a single
271 digit. This editor suggests copy and paste.
272 270
273 A 40-digit hexadecimal string is treated as a unique revision 271 A 40-digit hexadecimal string is treated as a unique revision
274 identifier. 272 identifier.
275 273
276 A hexadecimal string less than 40 characters long is treated as a 274 A hexadecimal string less than 40 characters long is treated as a
277 unique revision identifier, and referred to as a short-form 275 unique revision identifier and is referred to as a short-form
278 identifier. A short-form identifier is only valid if it is the 276 identifier. A short-form identifier is only valid if it is the
279 prefix of exactly one full-length identifier. 277 prefix of exactly one full-length identifier.
280 278
281 Any other string is treated as a tag name, which is a symbolic 279 Any other string is treated as a tag or branch name. A tag name is
282 name associated with a revision identifier. Tag names may not 280 a symbolic name associated with a revision identifier. A branch
283 contain the ":" character. 281 name denotes the tipmost revision of that branch. Tag and branch
282 names must not contain the ":" character.
284 283
285 The reserved name "tip" is a special tag that always identifies 284 The reserved name "tip" is a special tag that always identifies
286 the most recent revision. 285 the most recent revision.
287 286
288 The reserved name "null" indicates the null revision. This is the 287 The reserved name "null" indicates the null revision. This is the