[p4] perforce vs. subversion
Noah Salzman
noah at ncircle.com
Thu May 4 12:20:12 PDT 2006
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.
>
>
>
>
More information about the perforce-user
mailing list