mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
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:
parent
f916e19611
commit
3ae6b61c82
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user