comparison mercurial/commands.py @ 4200:7ca05d29c1f0

Clarify update help text for update without an explicit revision
author Brendan Cully <brendan@kublai.com>
date Sun, 11 Mar 2007 14:21:09 -0700
parents e4c586763258
children dbc3846c09a1
comparison
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