[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:

https://www.perforce.com/perforce/doc.current/manuals/cmdref/p4_typemap.html

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:
  http://forums.perforce.com/index.php?/topic/5209-reduce-hd-space


More information about the perforce-user mailing list