[p4] correct way to update directory hierarchy?

Russell C. Jackson rcjackson at high-tech-homes.com
Fri Jun 4 14:14:40 PDT 2004


Correct. You have to do a add of the entire tree to let it find the new
files unless you want to write some type of script to check for new files
against what is already in the server. Perforce will simply tell you that
you can't add an existing file on the ones that are already there, and it
will pick up all the new ones to add.

Rusty 

-----Original Message-----
From: perforce-user-admin at perforce.com
[mailto:perforce-user-admin at perforce.com] On Behalf Of Matt Stave
Sent: Friday, June 04, 2004 1:53 PM
To: 'Rich Ireland'; perforce-user at perforce.com
Subject: RE: [p4] correct way to update directory hierarchy?

Neither these p4 diff commands, nor "Check Consistency" handle new files on
the client needed to be added, right?


-----Original Message-----
From: perforce-user-admin at perforce.com
[mailto:perforce-user-admin at perforce.com]On Behalf Of Rich Ireland
Sent: Friday, June 04, 2004 1:38 PM
To: perforce-user at perforce.com
Subject: Re: [p4] correct way to update directory hierarchy?


Arnt Gulbrandsen wrote:
> Janulewicz, Matthew writes:
> 
>> Under the file menu, choose more -> check consistency. (can someone 
>> point to a commandline equivalent?)
> 
> p4 diff -se

Don't forget:

p4 diff -sd

Some files could be missing.

--
Rich Ireland
Firmware Engineer - Perforce Advocate
Idaho Technology, Inc.
http://www.idahotech.com/
mailto:rich.ireland at idahotech.com

_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
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