[ 
https://issues.apache.org/jira/browse/SCM-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17964934#comment-17964934
 ] 

Olivier Lamy commented on SCM-758:
----------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-scm#965|https://github.com/apache/maven-scm/issues/965]. 

> Branch command does not work with TFS: "TF10125: The path must start with $/"
> -----------------------------------------------------------------------------
>
>                 Key: SCM-758
>                 URL: https://issues.apache.org/jira/browse/SCM-758
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-tfs
>    Affects Versions: 1.9
>         Environment: TFS 2010 SP1
>            Reporter: Ohad R
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to