Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2025.1

# Specifying how files are stored in P4 Server

File revisions of binary files are normally stored in full within the depot, but only changes made to text files since the previous revision are normally stored. This approach is called delta storage, and P4 Server uses RCS format to store its deltas. The file’s type determines whether full file or delta storage is used.

Some file types are compressed to `gzip` format when stored in the depot. The compression occurs when you submit the file, and decompression happens when you sync (copy the file from the depot to your workspace). The client workspace always contains the file as it was submitted.

Warning

To avoid inadvertent file truncation, do not store binary files as `text`. If you store a binary file as text from a Windows computer and the file contains the Windows end-of-file character `^Z`, only the part of the file up to the `^Z` is stored in the depot.

Your search for returned results