Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I restrict a Perforce sync operation to only those files in a specific changelist?

Tags:

perforce

I thought I could use P4 sync -f @Changelist# to sync only those files in Changelist#, but it is syncing the entire directory. How can I limit the sync to only the files in Changelist#?

like image 573
user2344601 Avatar asked May 02 '13 20:05

user2344601


1 Answers

If you want to limit a sync to only the files in a specific changelist, you can do the following:

$> p4 sync @changelist,@changelist

E.g.

$> p4 sync @604286,@604286
like image 158
dwikle Avatar answered Oct 06 '22 23:10

dwikle