14 messages in com.perforce.perforce-user[p4] Forcing sync on missing files only
FromSent OnAttachments
Edward Tsai05 Sep 2003 15:16 
Robert Cowham08 Sep 2003 03:21 
Bob Arnson08 Sep 2003 04:59 
Robert Cowham08 Sep 2003 05:33 
Alen Ladavac08 Sep 2003 06:37 
Jeff Bowles08 Sep 2003 07:03 
Alen Ladavac08 Sep 2003 07:09 
Grills, Jeff08 Sep 2003 08:21 
Edward Tsai08 Sep 2003 10:10 
Alen Ladavac08 Sep 2003 10:31 
Jason Williams08 Sep 2003 10:37 
Robert Cowham08 Sep 2003 10:49 
Stephen Vance08 Sep 2003 20:21 
Jeff Bowles09 Sep 2003 11:13 
Subject:[p4] Forcing sync on missing files only
From:Alen Ladavac (al@croteam.com)
Date:09/08/2003 07:09:08 AM
List:com.perforce.perforce-user

Huh, just what I feared. I wonder why is it set up that way? Can't imagine
anyone would want that. :/ Well, seems I will need to parse the list file and add @12345 to each line.
Grunt, grunt...

Thanks for clearing this up.

Alen

----- Original Message ----- From: "Bob Arnson" <perforce at bobs.org> To: "Alen Ladavac" <alen at croteam.com> Cc: <perforce-user at perforce.com> Sent: Monday, September 08, 2003 11:59 AM Subject: Re: [p4] Forcing sync on missing files only

Monday, September 8, 2003, 9:37:32 AM, you wrote:

p4 sync @12345 p4 diff -sd @12345 > deleted.txt p4 -x deleted.txt sync -f @12345

But I am not sure if the syntax will really get me what I want. Will the -x option cooperate with the changelist number correctly in the second sync command? Can anyone more proficient with the p4 command confirm (or deny) correctness of the syntax?

We recently went through a similar use of '-x' -- basically, p4 will look at the files like this:

<deleted.txt line 1> <deleted.txt line 2> <deleted.txt line ...> @12345

So deleted.txt needs the '@12345' revspecs on each of the files.