Show More
@@ -54,4 +54,7 b' hg help' | |||||
54 | echo %% test list of commands with command with no help text |
|
54 | echo %% test list of commands with command with no help text | |
55 | hg help helpext |
|
55 | hg help helpext | |
56 |
|
56 | |||
|
57 | echo %% test a help topic | |||
|
58 | hg help revs | |||
|
59 | ||||
57 | exit 0 |
|
60 | exit 0 |
@@ -550,3 +550,33 b' list of commands:' | |||||
550 | nohelp (no help text available) |
|
550 | nohelp (no help text available) | |
551 |
|
551 | |||
552 | use "hg -v help helpext" to show aliases and global options |
|
552 | use "hg -v help helpext" to show aliases and global options | |
|
553 | %% test a help topic | |||
|
554 | Specifying Single Revisions | |||
|
555 | ||||
|
556 | Mercurial supports several ways to specify individual revisions. | |||
|
557 | ||||
|
558 | A plain integer is treated as a revision number. Negative integers are | |||
|
559 | treated as sequential offsets from the tip, with -1 denoting the tip, -2 | |||
|
560 | denoting the revision prior to the tip, and so forth. | |||
|
561 | ||||
|
562 | A 40-digit hexadecimal string is treated as a unique revision identifier. | |||
|
563 | ||||
|
564 | A hexadecimal string less than 40 characters long is treated as a unique | |||
|
565 | revision identifier and is referred to as a short-form identifier. A | |||
|
566 | short-form identifier is only valid if it is the prefix of exactly one | |||
|
567 | full-length identifier. | |||
|
568 | ||||
|
569 | Any other string is treated as a tag or branch name. A tag name is a | |||
|
570 | symbolic name associated with a revision identifier. A branch name denotes | |||
|
571 | the tipmost revision of that branch. Tag and branch names must not contain | |||
|
572 | the ":" character. | |||
|
573 | ||||
|
574 | The reserved name "tip" is a special tag that always identifies the most | |||
|
575 | recent revision. | |||
|
576 | ||||
|
577 | The reserved name "null" indicates the null revision. This is the revision | |||
|
578 | of an empty repository, and the parent of revision 0. | |||
|
579 | ||||
|
580 | The reserved name "." indicates the working directory parent. If no | |||
|
581 | working directory is checked out, it is equivalent to null. If an | |||
|
582 | uncommitted merge is in progress, "." is the revision of the first parent. |
General Comments 0
You need to be logged in to leave comments.
Login now