[p4] Binary files always locked on "Open for Edit"?

Ivey, William william_ivey at bmc.com
Wed Mar 23 08:01:42 PST 2005


> -----Original Message-----
> From: Lee Marzke [mailto:lee at marzke.net]

> While it's not a good idea to setup locking for all files,  I do 
> recommend setting the type of many files that can't be merged to
> +l.   So initially you may want to consider having your Perforce
> administrator set the +l filetype modifier in the typemap for any
> of the following that you check into Perforce.
> 
>  .exe,  .gif,  .jpg,  .png,  .bin, .pdf,

The typemap entry is case-sensitive (assuming the server is on
unix). That complicates things a little - at a minimum you
should check for the all caps variations of common Windows
extensions. It would be nice if there was a flag in the typemap
form, or on a per-line basis (a + prefix maybe). -Wm



More information about the perforce-user mailing list