doc/hg.1.txt
changeset 1253 a45e717c61a8
parent 1249 a5355fa5e33a
child 1254 e6560042b7b8
equal deleted inserted replaced
1252:94f38724283f 1253:a45e717c61a8
   171 
   171 
   172     By default, this command copies the contents of files as they
   172     By default, this command copies the contents of files as they
   173     stand in the working directory.  If invoked with --after, the
   173     stand in the working directory.  If invoked with --after, the
   174     operation is recorded, but no copying is performed.
   174     operation is recorded, but no copying is performed.
   175 
   175 
   176     This command takes effect for the next commit.
   176     This command takes effect in the next commit.
   177 
   177 
   178     Options:
   178     Options:
   179     -A, --after        record a copy that has already occurred
   179     -A, --after        record a copy that has already occurred
   180     -f, --force        forcibly copy over an existing managed file
   180     -f, --force        forcibly copy over an existing managed file
   181     -p, --parents      append source path to dest
   181     -p, --parents      append source path to dest
   182     
   182     
       
   183     aliases: cp
       
   184 
   183 diff [-a] [-r revision] [-r revision] [files ...]::
   185 diff [-a] [-r revision] [-r revision] [files ...]::
   184     Show differences between revisions for the specified files.
   186     Show differences between revisions for the specified files.
   185 
   187 
   186     Differences between files are shown using the unified diff format.
   188     Differences between files are shown using the unified diff format.
   187 
   189 
   446     entire project history.  If the files still exist in the working
   448     entire project history.  If the files still exist in the working
   447     directory, they will be deleted from it.
   449     directory, they will be deleted from it.
   448 
   450 
   449     aliases: rm
   451     aliases: rm
   450 
   452 
       
   453 rename <source ...> <dest>::
       
   454     Mark dest as copies of sources; mark sources for deletion.  If
       
   455     dest is a directory, copies are put in that directory.  If dest is
       
   456     a file, there can only be one source.
       
   457 
       
   458     By default, this command copies the contents of files as they
       
   459     stand in the working directory.  If invoked with --after, the
       
   460     operation is recorded, but no copying is performed.
       
   461 
       
   462     This command takes effect in the next commit.
       
   463 
       
   464     Options:
       
   465     -A, --after        record a rename that has already occurred
       
   466     -f, --force        forcibly copy over an existing managed file
       
   467     -p, --parents      append source path to dest
       
   468 
       
   469     aliases: mv
       
   470 
   451 revert [names ...]::
   471 revert [names ...]::
   452     Revert any uncommitted modifications made to the named files or
   472     Revert any uncommitted modifications made to the named files or
   453     directories.  This restores the contents of the affected files to
   473     directories.  This restores the contents of the affected files to
   454     an unmodified state.
   474     an unmodified state.
   455 
   475