[p4] Reduce HD space

Sambwise perforce-user-forum at forums.perforce.com
Mon Mar 6 11:50:01 PST 2017

Posted on behalf of forum user 'Sambwise'.

Use the typemap:


I would caution against doing this too broadly -- maybe just apply it to files
with certain extensions that you anticipate consuming a lot of disk space
relative to the value of their version history (e.g. built binaries that you can
reconstruct from source if needed).  For example (just using +S4 on
EXE and ZIP files as a suggestion):

Typemap: //....exe +S4 //....zip +S4   
I would specifically recommend against ever using +S for source code files --
they're too small and too important for the tradeoff to ever be worth it
IMO.   :)

Please click here to see the post in its original format:

More information about the perforce-user mailing list