Binary File (BINARYFILE)

The BINARYFILE attribute tells QVCS whether to treat the file as a binary file. By default, this attribute is disabled and files are treated as text files. The BINARYFILE attribute may be used for any non-text file. Examples would include pictures, word processing documents, sound samples, animations, executables, etc.

When the BINARYFILE attribute is set to YES, QVCS treats the file differently when inserting a new revision into the QVCS archive. QVCS performs an analysis of the work file before it compares it to its previous revision so it can determine the best strategy for comparing the two revisions. As a consequence, revisions of binary files always take longer to store than for non-binary files. Retrieval of revisions is the same speed for either binary, or non-binary files.

The BINARYFILE attribute can be set to YES for text files with no loss of functionality. Storing a new revision will take longer, but setting the BINARYFILE attribute to YES may result in a smaller QVCS archive, since QVCS may be able to deduce a more efficient comparison strategy than the default one used for text files.

Aside from storing revisions, QVCS handles both text and binary files identically.


QVCS Attributes
BINARYFILECHECKLOCKCOMPRESSIONDELETEWORKEXPANDKEYWORDSJOURNALFILEPROTECTLOGFILEPROTECTWORKFILE