mercurial/commands.py
changeset 3013 2b255c3478dc
parent 3011 01454af644b8
child 3017 ea2a9c13afc6
equal deleted inserted replaced
3012:fa4229c60dd7 3013:2b255c3478dc
  2270     explicitly specify the revision to revert to.
  2270     explicitly specify the revision to revert to.
  2271 
  2271 
  2272     Modified files are saved with a .orig suffix before reverting.
  2272     Modified files are saved with a .orig suffix before reverting.
  2273     To disable these backups, use --no-backup.
  2273     To disable these backups, use --no-backup.
  2274 
  2274 
  2275     Using the -r option, revert the given files or directories to
  2275     Using the -r option, revert the given files or directories to their
  2276     their contents as of a specific revision.  This can be helpful to"roll
  2276     contents as of a specific revision. This can be helpful to "roll
  2277     back" some or all of a change that should not have been committed.
  2277     back" some or all of a change that should not have been committed.
  2278 
  2278 
  2279     Revert modifies the working directory.  It does not commit any
  2279     Revert modifies the working directory.  It does not commit any
  2280     changes, or change the parent of the working directory.  If you
  2280     changes, or change the parent of the working directory.  If you
  2281     revert to a revision other than the parent of the working
  2281     revert to a revision other than the parent of the working