[p4] perforce vs. subversion
Zoltan Grose
zgrose at mac.com
Thu May 4 16:21:01 PDT 2006
Sure it does:
[TigerG5:~] zgrose% p4 -V
Perforce - The Fast Software Configuration Management System.
Copyright 1995-2005 Perforce Software. All rights reserved.
Rev. P4/DARWIN60PPC/2005.2/90475 (2005/12/15).
[TigerG5:~] zgrose% p4 help add
add -- Open a new file to add it to the depot
p4 add [ -c changelist# ] [ -f -n ] [ -t filetype ] file ...
...snip...
The -n flag displays what would be opened for add without
actually
changing any files or metadata.
On May 4, 2006, at 12:20 PM, Noah Salzman wrote:
> Patrick,
>
> I don't think that (p4 diff -sa ...) is what he is looking for. I
> believe he's talking about the case where he has added files to his
> client space and perforce doesn't know about the files.
>
> So, something like this but with a -n (do nothing) flag would solve
> the request:
>
> find . -type f | p4 -x- add
>
> ... unfortunately p4 add doesn't have a -n flag.
>
> This seems to work but it would be nicer if there was just a native
> p4 command that did it:
>
> find . -maxdepth 1 -type f | p4 -x- files | grep "no such"
>
>
> --Noah--
>
>
>
> On May 4, 2006, at 10:24 AM, Bennett, Patrick wrote:
>
>> p4 diff -sa ...
>>
>>> -----Original Message-----
>>> From: perforce-user-bounces at perforce.com
>>> [mailto:perforce-user-bounces at perforce.com] On Behalf Of
>>> Ken.Williams at thomson.com
>>> Sent: Thursday, May 04, 2006 10:46 AM
>>> To: noah at ncircle.com; sroberts at bycast.com
>>> Cc: perforce-user at perforce.com
>>> Subject: Re: [p4] perforce vs. subversion
>>>
>>> I think one big one for a lot of people is to easily know
>>> what files are "new" without actually adding them. You don't
>>> have to use a CVS-style workflow to want that one.
>>
>>
>>
>>
>
> _______________________________________________
> 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