Mercurial > hg
comparison tests/test-help.out @ 10144:69a974125938
test-help: improve test coverage
Adds a test for displaying a help topic.
Extends test coverage of commands.help_ by 5 lines.
author | Henri Wiechers <hwiechers@gmail.com> |
---|---|
date | Thu, 24 Dec 2009 18:53:36 +0200 |
parents | f6ac05b5684b |
children | f5e55f1ca927 |
comparison
equal
deleted
inserted
replaced
10143:f6ac05b5684b | 10144:69a974125938 |
---|---|
548 list of commands: | 548 list of commands: |
549 | 549 |
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. |