[p4perl] p4 sync question

Luke Petre lpetre at insomniacgames.com
Fri Aug 19 09:51:52 PDT 2005


I believe this is the syntax you're looking for. 

$p4->Sync( "//depot/...@$Changelistnum" );

Or for a file:

$p4->Sync( "//depot/path_to_file/filename@$Changelistnum" );


Basically $p4->Sync( ... );

Is analogous to:

'p4 sync ...' at the commandline.


-----Original Message-----
From: p4perl-bounces at perforce.com [mailto:p4perl-bounces at perforce.com]
On Behalf Of Erin Gu
Sent: Friday, August 19, 2005 8:24 AM
To: p4perl at perforce.com
Subject: [p4perl] p4 sync question

Hi,
How to sync to a changelist or label? I have tried
$p4->Sync($Changelistnum), it didn't work  as I expected. Any
suggestions?

Thanks,
Erin

_______________________________________________
p4perl mailing list
p4perl at perforce.com
http://maillist.perforce.com/mailman/listinfo/p4perl



More information about the p4perl mailing list