[ https://issues.apache.org/jira/browse/SCM-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963917#comment-17963917 ]
ASF GitHub Bot commented on SCM-998: ------------------------------------ jira-importer opened a new issue, #1221: URL: https://github.com/apache/maven-scm/issues/1221 **[Konrad Windszus](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=kwin)** opened **[SCM-998](https://issues.apache.org/jira/browse/SCM-998?redirect=false)** and commented Currently the different `ScmManager` methods sometimes return the OS separator and sometimes only the forward slash in the `ScmFile` (used in the complex return object). As forward slash is currently returned on all OSes for `ScmManager.checkIn(...)` all other methods like `ScmManager.add(...)` and `ScmManager.remove(...)` should behave the same. Also the javadoc at `ScmFile.getPath()` should be clarified in this regard. --- **Issue Links:** - [SCM-807](https://issues.apache.org/jira/browse/SCM-807) JGit impl check-in fails unless the Maven project is in the working copy root (_**"Discovered while testing"**_) > Streamline file separator used in ScmFile.getPath() > --------------------------------------------------- > > Key: SCM-998 > URL: https://issues.apache.org/jira/browse/SCM-998 > Project: Maven SCM (Moved to GitHub Issues) > Issue Type: Improvement > Components: maven-scm-api > Reporter: Konrad Windszus > Priority: Major > > Currently the different {{ScmManager}} methods sometimes return the OS > separator and sometimes only the forward slash in the {{ScmFile}} (used in > the complex return object). > As forward slash is currently returned on all OSes for > {{ScmManager.checkIn(...)}} all other methods like {{ScmManager.add(...)}} > and {{ScmManager.remove(...)}} should behave the same. Also the javadoc at > {{ScmFile.getPath()}} should be clarified in this regard. -- This message was sent by Atlassian Jira (v8.20.10#820010)