|
You can use qmodrev to change descriptive information about a specific revision contained in a QVCS archive. It only works on one revision at a time.
Command Template
qmodrev [-r REVISION] {-author NewAuthor}|{-md} [-comment "new revision comment"] filename
*One of the options enclosed in {} must be specified.
Where:
-r REVISION (optional)
Specifies the revision to be modified in the QVCS archive. If not specified, defaults to the newest revision on the default branch of the QVCS archive.
-author NewAuthor
Indicates that you wish to modify the revision's author to be NewAuthor. If this NewAuthor is not on the QVCS archive's modifier list, qmodrev does not make the change, and reports an error. If NewAuthor contains any spaces or tabs, it must be enclosed in single or double quotes.
-md
Indicates that you wish to modify the revision's description. Unless you also use the -comment switch, qmodrev prompts you for a new description which replaces the revision's existing description.
-comment "new revision comment" (optional)
Used with the -md option, the -comment option lets you enter the new revision comment from the command line instead of having qmodrev prompt you for the new revision comment.
filename (required)
The work file associated with the QVCS archive you wish to modify.
Examples
qmodrev -r 1.4 -author 'John Smith' foobar.c
changes the author of the 1.4 revision of foobar.c to John Smith. This succeeds only if John Smith is on the modifier list of foobar.c's QVCS archive.
qmodrev -r 1.3 -md foobar.c
requests qmodrev to alter the description associated with revision 1.3 in foobar.c's QVCS archive. qmodrev prompts you for a new description for the 1.3 revision. The new description completely replaces the old description.
qmodrev -md foobar.c
requests qmodrev to alter the description of the newest revision on the default branch of foobar.c's QVCS archive. qmodrev prompts you for a new description.
qmodrev -r 1.2 -md -comment "The new revision comment" foobar.c
requests qmodrev to alter the description of the revision 1.2 to The new revision comment.
Command Line Utilities
See also: QWin's corresponding Modify Revision options.
|