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

cannot create Branch with TFS-provider: "TF10125: The path must start with $/"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 1.9.2
    • maven-scm-provider-tfs
    • None
    • TFS-2010, SP1

    Description

      Running the maven command:
      mvn release:branch -DbranchName=$/NNG/ORK/maven-branch-10

      invokes finally
      tf branch D:\Dev\projects\NNG\ORK\dev\PLS -checkin $/NNG/ORK/maven-branch-10

      this causes an error:
      "TF10125: The path must start with $/"

      After a research I found the checkin statement causes this problem, because if I comment out the "checkin" argument (in org.apache.maven.scm.provider.tfs.command.TfsBranchCommand), it works fine. However, we do want to use the "checkin" statement because we want the new branch to be checked-in. I found out that it will be OK to use "checkin", only if we use a TFS path (starts with '$/'), instead of local-path.

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              ohadr Ohad R
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: