doc/hg.1.txt
changeset 588 0c3bae18403b
parent 580 353a2ce50423
child 595 c2c2c6d617bd
equal deleted inserted replaced
587:62a7b679a9ca 588:0c3bae18403b
   251     This only removes files from the current branch, not from the
   251     This only removes files from the current branch, not from the
   252     entire project history.
   252     entire project history.
   253 
   253 
   254     aliases: rm
   254     aliases: rm
   255 
   255 
       
   256 revert [names ...]::
       
   257     Revert any uncommitted modifications made to the named files or
       
   258     directories.  This restores the contents of the affected files to
       
   259     an unmodified state.
       
   260 
       
   261     If a file has been deleted, it is recreated.  If the executable
       
   262     mode of a file was changed, it is reset.
       
   263 
       
   264     If a directory is given, all files in that directory and its
       
   265     subdirectories are reverted.
       
   266 
       
   267     If no arguments are given, all files in the current directory and
       
   268     its subdirectories are reverted.
       
   269 
       
   270     options:
       
   271     -r, --rev <rev>       revision to revert to
       
   272     -n, --nonrecursive    do not recurse into subdirectories
       
   273 
   256 root::
   274 root::
   257     Print the root directory of the current repository.
   275     Print the root directory of the current repository.
   258 
   276 
   259 serve [-a addr -n name -p port -t templatedir]::
   277 serve [-a addr -n name -p port -t templatedir]::
   260     Start a local HTTP repository browser and pull server.
   278     Start a local HTTP repository browser and pull server.