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

ASF GitHub Bot commented on SCM-759:
------------------------------------

jira-importer opened a new issue, #964:
URL: https://github.com/apache/maven-scm/issues/964

   **[Ohad 
R](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ohadr)** opened 
**[SCM-759](https://issues.apache.org/jira/browse/SCM-759?redirect=false)** and 
commented
   
   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.
   
   
   
   ---
   
   **Affects:** 1.9
   
   **Issue Links:**
   - [SCM-770](https://issues.apache.org/jira/browse/SCM-770) [TFS] cannot 
create branch (release:branch) when using TFS-power-tools
   
   - [SCM-768](https://issues.apache.org/jira/browse/SCM-768) 
TfsBranchCommandTest is failing
   
   




> cannot create Branch with TFS-provider: "TF10125: The path must start with $/"
> ------------------------------------------------------------------------------
>
>                 Key: SCM-759
>                 URL: https://issues.apache.org/jira/browse/SCM-759
>             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
>            Assignee: Hervé Boutemy
>            Priority: Major
>             Fix For: 1.9.2
>
>
> 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:
> {color:red}"TF10125: The path must start with $/"{color}
> 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.



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

Reply via email to