[p4] Faking a sync.

Russell C. Jackson rcjackson at high-tech-homes.com
Thu Jun 3 16:31:50 PDT 2004

Use a different clientspec for your home PC, and when you get home run the

p4 flush @nameofyourworkclient

That will populate the home client with the same versions of the files that
you have in your work client.


-----Original Message-----
From: perforce-user-admin at perforce.com
[mailto:perforce-user-admin at perforce.com] On Behalf Of Ken Rentz
Sent: Thursday, June 03, 2004 3:54 PM
To: perforce-user at perforce.com
Subject: [p4] Faking a sync.

Is there any way to tell Perforce that a particular clientspec is actually
up to date without it downloading all of the files itself?  

I will occasionally work on small jobs at home.  Since I have a dialup
connection, and our depots are rather large, it is faster for me to copy the
files onto a thumbdrive, take them home with me, and then copy them onto my
home system.  

If I tell Perforce to use the same clientspec on both machines, everything
work out OK, but I have to be sure bring all of the modified files with me
when I go back to work, or things get fairly messed up.  What would be nice
would be to have a different clientspec at home, yet when I copy the files
over, convince it that everything is synced up.  Is this possible, or am I
trying to go outside the system too much?
perforce-user mailing list  -  perforce-user at perforce.com

More information about the perforce-user mailing list