Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-3
-
None
Description
After a succesfull update the StarteamUpdateCommand fires a delete-local command.
The command string that is created for the stcmd is wrong when a (view)label is used.
stcmd delete-local -x -nologo -stop -p "username@host:port/Project/View/path" -fp path-to-working-directory -is "-cfgl " alpha-1-1 -filter N
As you can see, the -cfgl option is between quotes and there is also an additional space character.
The problem is in the StarteamUpdateCommand class file (also in the trunk version).
The following line in the createDeleteLocalCommand method
args.add( "-cfgl " );
should be replaced with
args.add( "-cfgl" );
thus leaving out the additional space character.
I can provide a patch when necessary.
See also SCM-309 in which i indicate that i have a patch ready to be able to use promotion states instead of view labels