22 messages in com.perforce.perforce-user[p4] Re: nothing better about PVCS?
FromSent OnAttachments
Davids Sarma20 Jan 2000 03:02 
Michael Pye21 Jan 2000 14:38 
Michael Graff21 Jan 2000 16:04 
Lee Marzke21 Jan 2000 18:00 
Jeff A. Bowles22 Jan 2000 04:42 
Glenn Kasten22 Jan 2000 14:15 
Chuck Karish22 Jan 2000 15:20 
Scott Blachowicz22 Jan 2000 19:00 
Chuck Karish22 Jan 2000 20:52 
Chuck Karish22 Jan 2000 21:04 
Scott Blachowicz23 Jan 2000 10:18 
Robert Cowham23 Jan 2000 16:29 
Scott Blachowicz23 Jan 2000 19:26 
Raymond Wiker23 Jan 2000 23:33 
Michael Go24 Jan 2000 08:14 
Dave Foglesong24 Jan 2000 08:34 
Scott Blachowicz24 Jan 2000 08:43 
Ed Mack24 Jan 2000 09:42 
Michael Graff24 Jan 2000 10:13 
Jonathan Arnold24 Jan 2000 11:22 
Gerd Knops24 Jan 2000 14:42 
Michael Graff24 Jan 2000 16:11 
Subject:[p4] Re: nothing better about PVCS?
From:Jonathan Arnold (jdar@buddydog.org)
Date:01/24/2000 11:22:36 AM
List:com.perforce.perforce-user

Not quite - the 'p4 lock' command prevents others from _submitting_ changes to a particular file. I does not prevent them from checking it out for editing in

But one of the greatest things about Perforce is that you don't have to be connected to the server to get your work done. There are all kinds of tools for getting your source tree back into sync with the depot. This means there is *no way* you can prevent someone from editing a file locally, no matter what system you use. At least Perforce recognizes this and has many ways to deal with it, as opposed to other ones that just hope it never happens.

the first place. If you use exclusive locking systems, one use of locking a file is to say "I'm about to drastically change this file - you probably don't want to mess with it."

That's what, presumably, you'd use 'p4 lock' for. You can't keep them from editing a file. You can warn them about potential problems, but unless you go whole hog and use a very low level operating system SCM tool like ClearCase, you can't keep them off the source code.

I've seen a look in dogs' eyes, a quickly vanishing look of amazed contempt, and I am convinced that basically dogs think humans are nuts. -- John Steinbeck