how to sync the perforce client to a particular change list using p4 sync command

let us assume depot contains change lists :

change lists : 300 299 280 270 260

I would like to sync my client at change list 280.

if i do p4 sync : my client will be updated with cl : 300 (latest one) which i'm not looking for.

How can we achieve this ?

0

2 Answers

Perforce uses "@" to indicate change number, so

p4 sync @280 
4

p4 sync ...@280

Accepted answer didn't work for me

To check latest synced CL: p4 changes -m1 //...#have

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like