comparison mercurial/commands.py @ 14546:99a7cd924636

revert: replace mention of 'roll back' with pointer to 'backout'
author Matt Mackall <mpm@selenic.com>
date Tue, 07 Jun 2011 14:54:17 -0500
parents 02cb342950d3
children a6cc0f2d0365
comparison
equal deleted inserted replaced
14545:02cb342950d3 14546:99a7cd924636
4096 to the state they had in the first parent of the working directory. 4096 to the state they had in the first parent of the working directory.
4097 This restores the contents of files to an unmodified 4097 This restores the contents of files to an unmodified
4098 state and unschedules adds, removes, copies, and renames. 4098 state and unschedules adds, removes, copies, and renames.
4099 4099
4100 Using the -r/--rev or -d/--date options, revert the given files or 4100 Using the -r/--rev or -d/--date options, revert the given files or
4101 directories to their contents as of a specific revision. This can 4101 directories to their contents as of a specific revision. Because
4102 be helpful to "roll back" some or all of an earlier change. 4102 revert does not change the working directory parents, this will
4103 Because revert does not change the working directory parents, this 4103 cause these files to appear modified. This can be helpful to "back
4104 will cause these files to appear modified. 4104 out" some or all of an earlier change.
4105
4105 4106
4106 If names are given, all files matching the names are reverted. 4107 If names are given, all files matching the names are reverted.
4107 If no arguments are given, no files are reverted. 4108 If no arguments are given, no files are reverted.
4108 4109
4109 Modified files are saved with a .orig suffix before reverting. 4110 Modified files are saved with a .orig suffix before reverting.