mercurial/commands.py
changeset 14547 a6cc0f2d0365
parent 14546 99a7cd924636
child 14548 cd1a01550ca2
equal deleted inserted replaced
14546:99a7cd924636 14547:a6cc0f2d0365
  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. Because
  4101     directories to their contents as of a specific revision. Because
  4102     revert does not change the working directory parents, this will
  4102     revert does not change the working directory parents, this will
  4103     cause these files to appear modified. This can be helpful to "back
  4103     cause these files to appear modified. This can be helpful to "back
  4104     out" some or all of an earlier change.
  4104     out" some or all of an earlier change. See :hg:`backout` for a
  4105 
  4105     related method.
  4106 
  4106 
  4107     If names are given, all files matching the names are reverted.
  4107     If names are given, all files matching the names are reverted.
  4108     If no arguments are given, no files are reverted.
  4108     If no arguments are given, no files are reverted.
  4109 
  4109 
  4110     Modified files are saved with a .orig suffix before reverting.
  4110     Modified files are saved with a .orig suffix before reverting.