[p4] binary files?

Jeff Grills jgrills at drivensnow.org
Sat Jun 10 17:54:42 PDT 2006


It handles binaries just fine.  By default, it stores each revision
separately on the server in a compressed (gzip) format. Most of the time
perforce correctly detects binary files, but you can use the filetype to
specifically tell it a file is binary.  This link will provide you lots of
information:

http://www.perforce.com/perforce/doc.052/manuals/cmdref/o.ftypes.html#104064
7

Here's a link to the same page in tiny form:

http://tinyurl.com/jfm6w




You can also configure the default filetype for file names using p4 typemap
(for instance, all *.doc files).  Here's a link to information on that:

http://www.perforce.com/perforce/doc.052/manuals/p4sag/03_superuser.html#106
7639

And again in tiny form:

http://tinyurl.com/z5xlz


Hope this helps.

j

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Mike
Sent: Saturday, June 10, 2006 6:48 PM
To: perforce-user at perforce.com
Subject: [p4] binary files?


Can perforce deal properly (not corrput) binary files such as
a MS Word document that contains the interface specifications for a program,
a MS Excel spreadsheet that has the database size calculations, or a MS
Powerpoint file that has a presentation of the program for users?

I have used RCS and CVS a lot and know they don't deal nicely with binary
files.

Mike



More information about the perforce-user mailing list