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

Branch command does not work with TFS: "TF10125: The path must start with $/"

    XMLWordPrintableJSON

Details

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

    Description

      running:
      mvn release:branch -DbranchName=$/NNG/ORK/maven-branch-09

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

      and then we get an error: ‘TF10125: The path 'D:\Dev\projects\NNG\ORK\dev\PLS' must start with $/’

      there is a problem with the ‘checkin’ statement. if I remove the "checkin" statement from the command (by commenting it out, in org.apache.maven.scm.provider.tfs.command.TfsBranchCommand), it is working OK. However, we do want to use ‘checkin’ because we want the new created branched to be checked in.
      Conclusion: need to fix the TFS-provider (maven-scm), so it will use the path ($/...) instead of the path (d:/…). If we use '$/' path, it will work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ohadr Ohad R
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: