tests/test-help.out
author mpm@selenic.com
Sun, 03 Jul 2005 03:58:05 -0800
changeset 593 ca3c499e94c6
parent 588 0c3bae18403b
child 596 9a8daeff0ffa
permissions -rw-r--r--
Shorten help -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Shorten help Basic commands are now marked with "^" in the table only basic commands are show in hg help by default copyright banner not displayed with help by default manifest hash: 7337678588354ca669a3b13d1fbb0ad893563947 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCx9LNywK+sNU5EO8RAokCAJ9ZK2sGEto9RLyukFX+n0nzHRoB9QCfU84I e+Evc2g91kSS92FPrIC+Hnw= =yUmt -----END PGP SIGNATURE-----
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
423
25afb21d97ba Support for 'hg --version'. setup.py stores version from hg repository.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 364
diff changeset
     1
+ hg -q help
593
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
     2
basic hg commands (use -v for long list):
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     3
593
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
     4
 add      add the specified files on the next commit
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
     5
 clone    make a copy of an existing repository
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
     6
 commit   commit the specified files or all outstanding changes
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
     7
 diff     diff working directory (or selected files)
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
     8
 init     create a new repository in the current directory
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
     9
 log      show the revision history of the repository or a single file
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    10
 pull     pull changes from the specified source
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    11
 push     push changes to the specified destination
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    12
 remove   remove the specified files on the next commit
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    13
 serve    export the repository via HTTP
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    14
 status   show changed files in the working directory
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    15
 update   update or merge working directory
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    16
+ hg add -h
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    17
hg add: option -h not recognized
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    18
hg add [files]
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    19
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    20
add the specified files on the next commit
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    21
+ hg help diff
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    22
hg diff [-r A] [-r B] [files]
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    23
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    24
 -r --rev 
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    25
   revision
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    26
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    27
diff working directory (or selected files)
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    28
+ hg help foo
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    29
hg: unknown command foo
423
25afb21d97ba Support for 'hg --version'. setup.py stores version from hg repository.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 364
diff changeset
    30
+ hg -q commands
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    31
hg: unknown command 'commands'
593
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    32
basic hg commands (use -v for long list):
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    33
593
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    34
 add      add the specified files on the next commit
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    35
 clone    make a copy of an existing repository
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    36
 commit   commit the specified files or all outstanding changes
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    37
 diff     diff working directory (or selected files)
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    38
 init     create a new repository in the current directory
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    39
 log      show the revision history of the repository or a single file
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    40
 pull     pull changes from the specified source
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    41
 push     push changes to the specified destination
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    42
 remove   remove the specified files on the next commit
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    43
 serve    export the repository via HTTP
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    44
 status   show changed files in the working directory
ca3c499e94c6 Shorten help
mpm@selenic.com
parents: 588
diff changeset
    45
 update   update or merge working directory
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    46
+ exit 0