[p4] Binary files always locked on "Open for Edit"?
Andreas.Axelsson at dice.se
Wed Mar 23 05:25:11 PST 2005
Check out 'p4 help typemap' for info on how to automatically set certain
flags on given file types. However, typemap won't change files already
submitted, only new adds. You still have to edit and change the flags
for existing files, but that should be a rather easy script to write.
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Galen Boyer
> Sent: den 23 mars 2005 13:59
> To: perforce-user at perforce.com
> Subject: Re: [p4] Binary files always locked on "Open for Edit"?
> Jim Crossley <jim.crossley at cptii.com> writes:
> > Galen Boyer <galenboyerdev at hotpop.com> writes:
> >> Is there a way to do this so only one person can checkout
> a binary at
> >> a time?
> > Check out the +l filetype modifier (p4 help filetypes)
> Thanks, that works.
> I do find that a bit screwy and unintuitive how Perforce
> makes you handle file types for all of perforce by forcing
> you to open some particular file for edit (even though you
> are trying to do it for all of perforce), change that checked
> out file's filetype and then, _don't forget_, if you forget
> the following then it doesn't take, you must also check it
> in. I don't turn the water supply to my house off by
> shutting down my kitchen sink.
> Galen Boyer
> Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas.
> Learn more: http://www.perforce.com/conf
> perforce-user mailing list - perforce-user at perforce.com
More information about the perforce-user