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. |