[PATCH] update: do not use the term 'update' when mentioning reverting one file
Adrian Buehlmann
adrian at cadifra.com
Fri Jun 24 09:19:44 UTC 2011
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1308904304 -7200
# Branch stable
# Node ID d1788426c24da3851005a5606fef16fed64654e7
# Parent b9faf94ee1969f41b89edfc4df809adad582ab4c
update: do not use the term 'update' when mentioning reverting one file
and give a more precise hint for how to revert such a file
I'm using the term 'revision' instead of 'changeset' in this change to be
consistent with the REV we use in the synopsis.
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5072,8 +5072,8 @@
Use null as the changeset to remove the working directory (like
:hg:`clone -U`).
- If you want to update just one file to an older changeset, use
- :hg:`revert`.
+ If you want to revert just one file to an older revision, use
+ :hg:`revert [-r REV] NAME`.
See :hg:`help dates` for a list of formats valid for -d/--date.
More information about the Mercurial-devel
mailing list