Hi Support Team,
I use the Perfoce Delete Files action one time with a list of files and another time with a variable containing a list of files.
The execution of these actions is different: the first succeeds, the second not.
In detail: On the "Depot and Files" page I add the following lines to "Depot Files" Listbox;
//test/Test/a.txt
//test/Test/b.txt
On execution the log contains the following line:
Parameters: delete -c 1 //test/Test/a.txt //test/Test/b.txt
This is successful. The following approach fails:
Set Variable %FileNames to
Append To Variable %FileNames% //test/Test/a.txt
Append To Variable %FileNames% //test/Test/b.txt
Perforce Delete Files with %FileNames% in the "Depot Files" Listbox on page "Depot and Files"
On execution the log contains the following lines:
Parameters: delete -c 1 //test/Test/a.txt
//test/Test/b.txt
This actions fails to execute ("file(s) not on client").
Obviously when 'translating' a ('hard coded') list of Depot Files to Perforce Command Line each line is concatenated separated by a space. This should also be done when using a variable containing a list of Depot Files, shouldn't it? But currently it isn't and therefore the commandline is splitted - or in other words: it contains a line break and this will fail.
If you agree with me, would you mind to fix this for the other actions, too?
Best regards
Michael