add note about updating one file to update help

This commit is contained in:
Dirkjan Ochtman 2008-07-25 13:26:16 +02:00
parent 1fcc9951d2
commit 1c8c354f87

View File

@ -2781,6 +2781,8 @@ def update(ui, repo, node=None, rev=None, clean=False, date=None):
If the requested revision is on a different named branch and the
working directory is clean, update quietly switches branches.
If you want to update just one file to an older revision, use revert.
See 'hg help dates' for a list of formats valid for --date.
"""
if rev and node: