darcs version 2.0.0 (2.0.0 (+ 19 patches))
Usage: darcs rollback [OPTION]... [FILE or DIRECTORY]...
Record a new patch reversing some recorded changes.
Options:
--from-match=PATTERN select changes starting with a patch matching PATTERN
--from-patch=REGEXP select changes starting with a patch matching REGEXP
--from-tag=REGEXP select changes starting with a tag matching REGEXP
--last=NUMBER select the last NUMBER patches
--matches=PATTERN select patches matching PATTERN
-p REGEXP --patches=REGEXP select patches matching REGEXP
-t REGEXP --tags=REGEXP select tags matching REGEXP
-a --all answer yes to all patches
-i --interactive prompt user interactively
-A EMAIL --author=EMAIL specify author id
-m PATCHNAME --patch-name=PATCHNAME name of patch
--edit-long-comment edit the long comment by default
--skip-long-comment don't give a long comment
--prompt-long-comment prompt for whether to edit the long comment
--no-test don't run the test script
--test run the test script
--leave-test-directory don't remove the test directory
--remove-test-directory remove the test directory
--repodir=DIRECTORY specify the repository directory in which to run
--disable disable this command
-h --help shows brief description of command and its arguments
Advanced options:
--debug give only debug output
--debug-verbose give debug and verbose output
-v --verbose give verbose output
-q --quiet suppress informational output
--standard-verbosity neither verbose nor quiet output
--timings provide debugging timings information
--compress create compressed patches
--dont-compress don't create compressed patches
--umask=UMASK specify umask to use when writing
--posthook=COMMAND specify command to run after this darcs command
--no-posthook don't run posthook command
--prompt-posthook prompt before running posthook [DEFAULT]
--run-posthook run posthook command without prompting
--prehook=COMMAND specify command to run before this darcs command
--no-prehook don't run prehook command
--prompt-prehook prompt before running prehook [DEFAULT]
--run-prehook run prehook command without prompting
Rollback is used to undo the effects of one or more patches without actually
deleting them. Instead, it creates a new patch reversing selected portions.
of those changes. Unlike obliterate and unrecord (which accomplish a similar
goal) rollback is perfectly safe, since it leaves in the repository a record
of its changes.
最終更新:2008年04月19日 01:39