Each version of a file
element has an
element type, which identifies the type of data contained in that version. Each time you create a new version (with the initial
Add to Depot and subsequent
Keep's), you can change the element type, using the
Advanced section of the command's dialog box.
When a new binary version is created, the storage file is an exact copy of the file in the
workspace tree. When you retrieve a binary version from the repository (for example, with
Send to Workspace or
Update), AccuRev makes an exact copy of the storage file in the workspace tree.
When a new text version is created, the storage file is created with a single
NL character (hex character code
x0A) at the end of each text line. This means that a version’s storage file may have different line terminators than the workspace-tree file you submitted to the command.
ptext versions are handled like
binary versions: exact copies are transferred between the workspace tree and the file storage area. The difference between
ptext and
binary files is in how they are handled by the
Merge and
Patch commands.