tests/test-help.out
author mpm@selenic.com
Sat, 02 Jul 2005 19:49:46 -0800
changeset 588 0c3bae18403b
parent 581 9db6d5455642
child 593 ca3c499e94c6
permissions -rw-r--r--
[PATCH] hg revert -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] hg revert From: Bryan O'Sullivan <bos@serpentine.com> Add revert command. manifest hash: 0094e6bf421f34bd0492a33f95400b1b095a6bdc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCx2BaywK+sNU5EO8RAigMAKCrvgTtIDuirCsMVlbiTMqaJy3UNgCdEcTL hMN1X8FZi6sH+NjUdr9sYBg= =i58L -----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
331
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
485
c5705ab9cebd [PATCH] add clone command
mpm@selenic.com
parents: 468
diff changeset
     8
 clone       make a copy of an existing repository
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
     9
 commit      commit the specified files or all outstanding changes
364
6f43778f26da test-help: hg copy now shows up in the help
mpm@selenic.com
parents: 350
diff changeset
    10
 copy        mark a file as copied or renamed for the next commit
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    11
 diff        diff working directory (or selected files)
581
9db6d5455642 Fix up test-help for export
mpm@selenic.com
parents: 509
diff changeset
    12
 export      dump the header and diffs for one or more changesets
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    13
 forget      don't add the specified files on the next commit
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    14
 heads       show current repository heads
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    15
 help        show help for a given command or all commands
342
f7c51058cbb7 update help test for identify
mpm@selenic.com
parents: 336
diff changeset
    16
 identify    print information about the working copy
440
22b5aaeb3637 Fix up tests for command name changes
mpm@selenic.com
parents: 429
diff changeset
    17
 import      import an ordered set of patches
496
6ce95a04999d [PATCH] simplify init
mpm@selenic.com
parents: 485
diff changeset
    18
 init        create a new repository in the current directory
509
98a2935c3d6c [PATCH] replace history with log
mpm@selenic.com
parents: 496
diff changeset
    19
 log         show the revision history of the repository or a single file
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    20
 manifest    output the latest or given revision of the project manifest
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    21
 parents     show the parents of the current working dir
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    22
 pull        pull changes from the specified source
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    23
 push        push changes to the specified destination
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    24
 rawcommit   raw commit interface
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    25
 recover     roll back an interrupted transaction
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    26
 remove      remove the specified files on the next commit
588
0c3bae18403b [PATCH] hg revert
mpm@selenic.com
parents: 581
diff changeset
    27
 revert      revert modified files or dirs back to their unmodified states
468
157675add351 [PATCH] add "root" command
mpm@selenic.com
parents: 467
diff changeset
    28
 root        print the root (top) of the current working dir
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    29
 serve       export the repository via HTTP
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    30
 status      show changed files in the working directory
401
af4848f83e68 From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
mpm@selenic.com
parents: 364
diff changeset
    31
 tag         add a tag for the current tip or a given revision
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    32
 tags        list repository tags
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    33
 tip         show the tip revision
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    34
 undo        undo the last transaction
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    35
 update      update or merge working directory
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    36
 verify      verify the integrity of the repository
467
9d5447a366a7 Add version command
mpm@selenic.com
parents: 440
diff changeset
    37
 version     output version and copyright information
331
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    38
+ hg add -h
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    39
hg add: option -h not recognized
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    40
hg add [files]
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    41
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    42
add the specified files on the next commit
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    43
+ hg help diff
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    44
hg diff [-r A] [-r B] [files]
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    45
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    46
 -r --rev 
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    47
   revision
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    48
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    49
diff working directory (or selected files)
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    50
+ hg help foo
55f63f3b6a54 Add a simple testing framework
mpm@selenic.com
parents:
diff changeset
    51
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
    52
+ hg -q commands
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    53
hg: unknown command 'commands'
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    54
hg commands:
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    55
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    56
 add         add the specified files on the next commit
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    57
 addremove   add all new files, delete all missing files
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    58
 annotate    show changeset information per file line
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    59
 cat         output the latest or given revision of a file
485
c5705ab9cebd [PATCH] add clone command
mpm@selenic.com
parents: 468
diff changeset
    60
 clone       make a copy of an existing repository
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    61
 commit      commit the specified files or all outstanding changes
364
6f43778f26da test-help: hg copy now shows up in the help
mpm@selenic.com
parents: 350
diff changeset
    62
 copy        mark a file as copied or renamed for the next commit
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    63
 diff        diff working directory (or selected files)
581
9db6d5455642 Fix up test-help for export
mpm@selenic.com
parents: 509
diff changeset
    64
 export      dump the header and diffs for one or more changesets
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    65
 forget      don't add the specified files on the next commit
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    66
 heads       show current repository heads
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    67
 help        show help for a given command or all commands
342
f7c51058cbb7 update help test for identify
mpm@selenic.com
parents: 336
diff changeset
    68
 identify    print information about the working copy
440
22b5aaeb3637 Fix up tests for command name changes
mpm@selenic.com
parents: 429
diff changeset
    69
 import      import an ordered set of patches
496
6ce95a04999d [PATCH] simplify init
mpm@selenic.com
parents: 485
diff changeset
    70
 init        create a new repository in the current directory
509
98a2935c3d6c [PATCH] replace history with log
mpm@selenic.com
parents: 496
diff changeset
    71
 log         show the revision history of the repository or a single file
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    72
 manifest    output the latest or given revision of the project manifest
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    73
 parents     show the parents of the current working dir
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    74
 pull        pull changes from the specified source
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    75
 push        push changes to the specified destination
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    76
 rawcommit   raw commit interface
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    77
 recover     roll back an interrupted transaction
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    78
 remove      remove the specified files on the next commit
588
0c3bae18403b [PATCH] hg revert
mpm@selenic.com
parents: 581
diff changeset
    79
 revert      revert modified files or dirs back to their unmodified states
468
157675add351 [PATCH] add "root" command
mpm@selenic.com
parents: 467
diff changeset
    80
 root        print the root (top) of the current working dir
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    81
 serve       export the repository via HTTP
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    82
 status      show changed files in the working directory
401
af4848f83e68 From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
mpm@selenic.com
parents: 364
diff changeset
    83
 tag         add a tag for the current tip or a given revision
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    84
 tags        list repository tags
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    85
 tip         show the tip revision
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    86
 undo        undo the last transaction
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    87
 update      update or merge working directory
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    88
 verify      verify the integrity of the repository
467
9d5447a366a7 Add version command
mpm@selenic.com
parents: 440
diff changeset
    89
 version     output version and copyright information
336
aa6cbde09f72 Add some more tests
mpm@selenic.com
parents: 331
diff changeset
    90
+ exit 0