mercurial/commands.py
changeset 30834 64a9160bf150
parent 30787 ff020ee5f06c
child 30878 f36eec4b5a49
child 30907 75149f84eac7
equal deleted inserted replaced
30833:bd5e9647f646 30834:64a9160bf150
  6479 
  6479 
  6480     Update sets the working directory's parent revision to the specified
  6480     Update sets the working directory's parent revision to the specified
  6481     changeset (see :hg:`help parents`).
  6481     changeset (see :hg:`help parents`).
  6482 
  6482 
  6483     If the changeset is not a descendant or ancestor of the working
  6483     If the changeset is not a descendant or ancestor of the working
  6484     directory's parent, the update is aborted. With the -c/--check
  6484     directory's parent and there are uncommitted changes, the update is
  6485     option, the working directory is checked for uncommitted changes; if
  6485     aborted. With the -c/--check option, the working directory is checked
  6486     none are found, the working directory is updated to the specified
  6486     for uncommitted changes; if none are found, the working directory is
  6487     changeset.
  6487     updated to the specified changeset.
  6488 
  6488 
  6489     .. container:: verbose
  6489     .. container:: verbose
  6490 
  6490 
  6491       The following rules apply when the working directory contains
  6491       The following rules apply when the working directory contains
  6492       uncommitted changes:
  6492       uncommitted changes: