tests/test-help.out
author mpm@selenic.com
Tue, 14 Jun 2005 13:28:42 -0800
changeset 331 55f63f3b6a54
child 336 aa6cbde09f72
permissions -rw-r--r--
Add a simple testing framework -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Add a simple testing framework manifest hash: 9eeea72f2f33438040998a190183958764232ece -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCr0wKywK+sNU5EO8RAl9FAJ4o1QUA/YE2hCSlUPngR8h30hT1xQCgoEhu um2QkJOc2Rz7i6xTGPxuqzU= =YyUM -----END PGP SIGNATURE-----
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     1
+ hg help
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     2
hg commands:
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     3
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     4
 add         add the specified files on the next commit
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     5
 addremove   add all new files, delete all missing files
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     6
 annotate    show changeset information per file line
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     7
 cat         output the latest or given revision of a file
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     8
 commit      commit the specified files or all outstanding changes
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     9
 diff        diff working directory (or selected files)
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    10
 export      dump the changeset header and diffs for a revision
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    11
 forget      don't add the specified files on the next commit
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    12
 heads       show current repository heads
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    13
 help        show help for a given command or all commands
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    14
 history     show the changelog history
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    15
 init        create a new repository or copy an existing one
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    16
 log         show the revision history of a single file
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    17
 manifest    output the latest or given revision of the project manifest
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    18
 parents     show the parents of the current working dir
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    19
 patch       import an ordered set of patches
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    20
 pull        pull changes from the specified source
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    21
 push        push changes to the specified destination
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    22
 rawcommit   raw commit interface
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    23
 recover     roll back an interrupted transaction
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    24
 remove      remove the specified files on the next commit
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    25
 serve       export the repository via HTTP
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    26
 status      show changed files in the working directory
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    27
 tags        list repository tags
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    28
 tip         show the tip revision
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    29
 undo        undo the last transaction
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    30
 update      update or merge working directory
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    31
 verify      verify the integrity of the repository
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    32
+ hg add -h
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    33
hg add: option -h not recognized
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    34
hg add [files]
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    35
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    36
add the specified files on the next commit
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    37
+ hg help diff
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    38
hg diff [-r A] [-r B] [files]
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    39
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    40
 -r --rev 
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    41
   revision
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    42
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    43
diff working directory (or selected files)
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    44
+ hg help foo
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    45
hg: unknown command foo