[p4] typemap and exclusive locking (revisited)

steve at vance.com steve at vance.com
Wed Mar 5 09:44:27 PST 2008

You have to add +l to every individual binary line. What you've done is say
that all files should be binary+l by default.


Original Message:
From:  todd.benham at kodak.com
Date: 	Wed, 5 Mar 2008 11:28:27 -0500
To: perforce-user at perforce.com
Subject: [p4] typemap and exclusive locking (revisited)

I found many references to typemap setting and exclusive locking but I
can't get this one point straight.
If I add "binary+l //..." to our typemap, all future binary files are
exclusive lock by default. 
Ideally, I want binaries to be exclusive lock but I want any specific
typemaps to still apply.
But I don't want any text files to be binary (which seems to be happening)
and the text types are not exclusive lock.
I located this above the middle of the typemap after all the "binary
//....xxx" lines but before any "text //...xxx" lines.
I removed that line. Do I have to add "+l" to each individual line or am I
missing something?
If this is true, then any binary added with an "unknown" extension will
not get the exclusive lock.
perforce-user mailing list  -  perforce-user at perforce.com

mail2web - Check your email from the web at

More information about the perforce-user mailing list