[p4] perforce vs. subversion

Jeff Jensen jeffjensen at upstairstechnology.com
Sat May 6 11:32:48 PDT 2006


I didn't catch that anyone has mentioned our solution to this - add this to
"p4 protect" towards the bottom:
 write group * * -//....class

With this entry, Perforce rejects all files that end in .class.  If some
need be, then you can create a Perforce group that is allowed to add them.


There is an open request to have all Perforce clients respect the .p4ignore
file, not just P4WSAD.  Please, everyone interested, email support and add
your name to the list to give it more attention!


-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Knut Forkalsrud
Sent: Wednesday, May 03, 2006 12:28 PM
To: Sam Roberts
Cc: perforce-user at perforce.com
Subject: Re: [p4] perforce vs. subversion

Sam Roberts <sroberts at bycast.com> writes:

> svn has the concept of "ignored" files, and the ability to tell you 
> what non-ignored files are in your working copy that have not been 
> added. p4 does not.  This makes it very painful to search for new 
> files and make sure they have been added, we regularly have broken 
> builds because files got missed on submits.

My experience is that resynchronizing with the "tech note 2" approach
happens all the time.  A real problem is that users often add compiled
files.  We do a lot of Java and the build tool (Maven) creates a "target"
subdirectory for the compiled code.  There is a concept for .p4ignore files
in the spirit of .cvsignore, but it seems to be special to the Perforce
plugin for Websphere Studio (P4WSAD) and something called p4delta
(http://p4delta.sourceforge.net/)

Is there a generic way to manage this both for Windows and Linux users?

Thanks in advance,

-Knut

PS: I know that compiled code should be kept away from the source tree, but
with maven that breaks down, the source directory is a subdirectory of
what's under revision control.
_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user



More information about the perforce-user mailing list