# HG changeset patch # User Dirkjan Ochtman # Date 2008-07-25 11:26:16 # Node ID e37fa751182a7f519285a3a2c9caaa03ba27f16d # Parent 05a62e8ddf3d314f781e078c23ff94fc2c3ed8c7 add note about updating one file to update help diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2781,6 +2781,8 @@ def update(ui, repo, node=None, rev=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: