From 1c8c354f87cc9ace5e4a641cc7479a5300ff9781 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 25 Jul 2008 13:26:16 +0200 Subject: [PATCH] add note about updating one file to update help --- mercurial/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mercurial/commands.py b/mercurial/commands.py index 703dd1fa56..8efc5a6a22 100644 --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -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: