Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 14729:94eea58da2a3 stable
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.
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 24 Jun 2011 10:31:44 +0200 |
parents | e0039716f3ea |
children | d83ad13a280e |
comparison
equal
deleted
inserted
replaced
14728:350dcd481410 | 14729:94eea58da2a3 |
---|---|
5080 the working directory is updated to the requested changeset. | 5080 the working directory is updated to the requested changeset. |
5081 | 5081 |
5082 Use null as the changeset to remove the working directory (like | 5082 Use null as the changeset to remove the working directory (like |
5083 :hg:`clone -U`). | 5083 :hg:`clone -U`). |
5084 | 5084 |
5085 If you want to update just one file to an older changeset, use | 5085 If you want to revert just one file to an older revision, use |
5086 :hg:`revert`. | 5086 :hg:`revert [-r REV] NAME`. |
5087 | 5087 |
5088 See :hg:`help dates` for a list of formats valid for -d/--date. | 5088 See :hg:`help dates` for a list of formats valid for -d/--date. |
5089 | 5089 |
5090 Returns 0 on success, 1 if there are unresolved files. | 5090 Returns 0 on success, 1 if there are unresolved files. |
5091 """ | 5091 """ |