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.
This commit is contained in:
Adrian Buehlmann 2011-06-24 10:31:44 +02:00
parent f916e19611
commit 3ae6b61c82

View File

@ -5082,8 +5082,8 @@ def update(ui, repo, node=None, rev=None, clean=False, date=None, check=False):
Use null as the changeset to remove the working directory (like Use null as the changeset to remove the working directory (like
:hg:`clone -U`). :hg:`clone -U`).
If you want to update just one file to an older changeset, use If you want to revert just one file to an older revision, use
:hg:`revert`. :hg:`revert [-r REV] NAME`.
See :hg:`help dates` for a list of formats valid for -d/--date. See :hg:`help dates` for a list of formats valid for -d/--date.