Since its difficult for me to understand P4 API documentation, I need help. I have a folder in a depot, say //root/a/...
first I am running a preview to know the number of files going to be synced on a changelist, say 123
.
Client.ViewMap = new ViewMap();
Client.ViewMap.Add("//root/a/...", "//" + myWrkSpace + "/a/...", MapType.Include);
Options sFlags = new Options( SyncFilesCmdFlags.Preview, 123 );
rFiles = rep.Connection.Client.SyncFiles(sFlags, null);
In rFiles
I should get the file list that are going to be synced (sync preview, I will be syncing each file in a background worker), but its returning me all the depot files (files in //root)
Can anyone please help? Regards