tests/test-dispatch.out
changeset 4622 6fc26982f203
parent 4561 8044be585b91
child 4654 e0e73ba37983
equal deleted inserted replaced
4621:d97fd22a0ea9 4622:6fc26982f203
     1 adding a
     1 adding a
       
     2 # missing arg
       
     3 hg cat: invalid arguments
       
     4 hg cat [OPTION]... FILE...
       
     5 
       
     6 output the current or given revision of files
       
     7 
       
     8     Print the specified files as they were at the given revision.
       
     9     If no revision is given, the parent of the working directory is used,
       
    10     or tip if no revision is checked out.
       
    11 
       
    12     Output may be to a file, in which case the name of the file is
       
    13     given using a format string.  The formatting rules are the same as
       
    14     for the export command, with the following additions:
       
    15 
       
    16     %s   basename of file being printed
       
    17     %d   dirname of file being printed, or '.' if in repo root
       
    18     %p   root-relative path name of file being printed
       
    19 
       
    20 options:
       
    21 
       
    22  -o --output   print output to file with formatted name
       
    23  -r --rev      print the given revision
       
    24  -I --include  include names matching the given patterns
       
    25  -X --exclude  exclude names matching the given patterns
       
    26 
       
    27 use "hg -v help cat" to show global options
     2 % [defaults]
    28 % [defaults]
     3 a
    29 a
     4 a
    30 a