# HG changeset patch # User Martin Geisler # Date 2008-09-17 08:24:30 # Node ID e3f9feb9ab7e828c205f02849e348cc97c20beb1 # Parent bfad9865b1dc7059fc79d2f18370d5e2ae51ddd9 update: mention null revision in help text diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -2789,7 +2789,8 @@ def update(ui, repo, node=None, rev=None """update working directory Update the working directory to the specified revision, or the - tip of the current branch if none is specified. + tip of the current branch if none is specified. Use null as + the revision to remove the working copy (like 'hg clone -U'). If the requested revision is a descendant of the working directory, any outstanding changes in the working directory will