Delete Workfile (DELETEWORK)
The DELETEWORK attribute tells QVCS whether to delete the work file after a storing a new revision. If DELETEWORK is off (the default), QVCS will not delete the work file after a storing a new revision. It may however, write-protect the work file after adding the revision if PROTECTWORKFILE is enabled. This is so that if you go to edit the file, you'll be reminded (since you won't be able to overwrite the file) that you didn't lock the QVCS archive.
If DELETEWORK is on, then the work file is deleted after storing a revision, regardless of the state of PROTECTWORKFILE.
Enabling DELETEWORK is useful if you don't need a copy of the file (linker map files for example), since you can always retrieve a copy of the file from the QVCS archive if you need to. Enabling DELETEWORK saves disk space.
Disabling DELETEWORK is useful if you do need a copy of the work file to remain in your working directory after the storing a new revision. Uncompiled source code is an obvious example of a file that you'd probably want to keep around.
QVCS Attributes
|