Ohad R created SCM-758:
--------------------------
Summary: Branch command does not work with TFS: "TF10125: The path
must start with $/"
Key: SCM-758
URL: https://jira.codehaus.org/browse/SCM-758
Project: Maven SCM
Issue Type: Bug
Components: maven-scm-provider-tfs
Affects Versions: 1.9
Environment: TFS 2010 SP1
Reporter: Ohad R
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
(v6.1.6#6162)