Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-331

bug found in StarteamUpdateCommand when doing a delete-local when a (view)label is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.1
    • 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

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            jedelbroek Jan Edelbroek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: