tests/test-amend.t
changeset 2730 7fbb7a5d359f
parent 2726 70004f0847a2
child 2776 4dd84054ebbb
equal deleted inserted replaced
2729:69fe16428b0f 2730:7fbb7a5d359f
   130   
   130   
   131       See 'hg commit' for details about committing changes.
   131       See 'hg commit' for details about committing changes.
   132   
   132   
   133       If you don't specify -m, the parent's message will be reused.
   133       If you don't specify -m, the parent's message will be reused.
   134   
   134   
       
   135       If --extra is specified, the behavior of 'hg amend' is reversed: Changes
       
   136       to selected files in the checked out revision appear again as uncommitted
       
   137       changed in the working directory.
       
   138   
   135       Returns 0 on success, 1 if nothing changed.
   139       Returns 0 on success, 1 if nothing changed.
   136   
   140   
   137   options ([+] can be repeated):
   141   options ([+] can be repeated):
   138   
   142   
   139    -A --addremove           mark new/missing files as added/removed before
   143    -A --addremove           mark new/missing files as added/removed before
   140                             committing
   144                             committing
       
   145    -a --all                 match all files
   141    -e --edit                invoke editor on commit messages
   146    -e --edit                invoke editor on commit messages
       
   147       --extract             extract changes from the commit to the working copy
   142       --close-branch        mark a branch as closed, hiding it from the branch
   148       --close-branch        mark a branch as closed, hiding it from the branch
   143                             list
   149                             list
   144    -s --secret              use the secret phase for committing
   150    -s --secret              use the secret phase for committing
   145    -I --include PATTERN [+] include names matching the given patterns
   151    -I --include PATTERN [+] include names matching the given patterns
   146    -X --exclude PATTERN [+] exclude names matching the given patterns
   152    -X --exclude PATTERN [+] exclude names matching the given patterns