mercurial/commands.py
changeset 4200 7ca05d29c1f0
parent 4199 e4c586763258
child 4209 dbc3846c09a1
equal deleted inserted replaced
4199:e4c586763258 4200:7ca05d29c1f0
  2505     return postincoming(ui, repo, modheads, opts['update'])
  2505     return postincoming(ui, repo, modheads, opts['update'])
  2506 
  2506 
  2507 def update(ui, repo, node=None, clean=False, date=None):
  2507 def update(ui, repo, node=None, clean=False, date=None):
  2508     """update working directory
  2508     """update working directory
  2509 
  2509 
  2510     Update the working directory to the specified revision.
  2510     Update the working directory to the specified revision, or the
       
  2511     tip of the current branch if none is specified.
  2511 
  2512 
  2512     If there are no outstanding changes in the working directory and
  2513     If there are no outstanding changes in the working directory and
  2513     there is a linear relationship between the current version and the
  2514     there is a linear relationship between the current version and the
  2514     requested version, the result is the requested version.
  2515     requested version, the result is the requested version.
  2515 
  2516