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. This can |
4102 be helpful to "roll back" some or all of an earlier change. |
4102 be helpful to "roll back" some or all of an earlier change. |
4103 |
4103 Because revert does not change the working directory parents, this |
4104 Revert modifies the working directory. It does not commit any |
4104 will cause these files to appear modified. |
4105 changes, or change the parent of the working directory. If you |
|
4106 revert to a revision other than the parent of the working |
|
4107 directory, the reverted files will thus appear modified |
|
4108 afterwards. |
|
4109 |
4105 |
4110 If names are given, all files matching the names are reverted. |
4106 If names are given, all files matching the names are reverted. |
4111 If no arguments are given, no files are reverted. |
4107 If no arguments are given, no files are reverted. |
4112 |
4108 |
4113 Modified files are saved with a .orig suffix before reverting. |
4109 Modified files are saved with a .orig suffix before reverting. |