Mercurial > hg > mercurial-crew-with-dirclash
comparison doc/hg.1.txt @ 1608:722fd16f6f8c
document revert command more accurately.
this fixes issue 87.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Mon, 02 Jan 2006 14:31:25 -0800 |
parents | d07d729ce306 |
children | dbb8bba48510 |
comparison
equal
deleted
inserted
replaced
1607:d72d27ee72b9 | 1608:722fd16f6f8c |
---|---|
495 -f, --force forcibly copy over an existing managed file | 495 -f, --force forcibly copy over an existing managed file |
496 | 496 |
497 aliases: mv | 497 aliases: mv |
498 | 498 |
499 revert [names ...]:: | 499 revert [names ...]:: |
500 Revert any uncommitted modifications made to the named files or | 500 The revert command has two modes of operation. |
501 directories. This restores the contents of the affected files to | 501 |
502 an unmodified state. | 502 In its default mode, it reverts any uncommitted modifications made |
503 to the named files or directories. This restores the contents of | |
504 the affected files to an unmodified state. | |
505 | |
506 Using the -r option, it reverts the given files or directories to | |
507 their state as of an earlier revision. This can be helpful to "roll | |
508 back" some or all of a change that should not have been committed. | |
509 | |
510 Revert modifies the working directory. It does not commit any | |
511 changes, or change the parent of the current working directory. | |
503 | 512 |
504 If a file has been deleted, it is recreated. If the executable | 513 If a file has been deleted, it is recreated. If the executable |
505 mode of a file was changed, it is reset. | 514 mode of a file was changed, it is reset. |
506 | 515 |
507 If a directory is given, all files in that directory and its | 516 If a directory is given, all files in that directory and its |