Perforce Delete Files: cannot use variable with list of files

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

Hi Michael

This issue has been fixed in the following build:
https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_1480.exe

The Perforce actions will now correctly handle a CRLF delimited list of files within a variable.

Regards,
Steve

Hi Steve,

I've tested the new build and it works fine.

Thank you for the fast support.

Best regards

Michael