[
https://issues.apache.org/jira/browse/SCM-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961176#comment-17961176
]
ASF GitHub Bot commented on SCM-370:
------------------------------------
jira-importer opened a new issue, #584:
URL: https://github.com/apache/maven-scm/issues/584
**[Sebastian
Annies](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sannies)**
opened
**[SCM-370](https://issues.apache.org/jira/browse/SCM-370?redirect=false)** and
commented
When a client is created it is named:
E.g.
`sannies-sojus-MavenSCM-\opt\continuum-1.1-beta-3-SNAPSHOT\apps\continuum\webapp\WEB-INF\working-directory\6`
that is ok, but now comes the sync command and uses following commandline
`/bin/bash c "p4 -d
/opt/continuum-1.1-beta-3-SNAPSHOT/apps/continuum/webapp/WEB-INF/working-directory/1
-cbackground-sojus-MavenSCM\opt\continuum-1.1-beta-3-SNAPSHOT\apps\continuum\webapp\WEB-INF\working-directory\1
sync"`
The Bash now removes the backslashes in the client name! The result is that
the client is not existent and perforce returns with an error.
This is related to [PLXUTILS-44] and [CONTINUUM-1402]
I propose to use the underscore character instead of the backslash.
---
**Affects:** 1.0
**Attachments:**
-
[SCM-351_&_SCM-370.patch](https://issues.apache.org/jira/secure/attachment/12718702/SCM-351_%26_SCM-370.patch)
(_1.13 kB_)
**Issue Links:**
- [SCM-351](https://issues.apache.org/jira/browse/SCM-351) generated client
spec name fails if there is a space or tilde in directory name
(_**"is duplicated by"**_)
1 votes, 0 watchers
> generated client spec contains backslashes leading die problems on unix os
> --------------------------------------------------------------------------
>
> Key: SCM-370
> URL: https://issues.apache.org/jira/browse/SCM-370
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Improvement
> Components: maven-scm-provider-perforce
> Affects Versions: 1.0
> Environment: UNIX
> Reporter: Sebastian Annies
> Assignee: Emmanuel Venisse
> Priority: Major
> Fix For: 1.1
>
> Attachments: SCM-351_&_SCM-370.patch
>
>
> When a client is created it is named:
> E.g.
> {{sannies-sojus-MavenSCM-\opt\continuum-1.1-beta-3-SNAPSHOT\apps\continuum\webapp\WEB-INF\working-directory\6}}
> that is ok, but now comes the sync command and uses following commandline
> {{/bin/bash c "p4 -d
> /opt/continuum-1.1-beta-3-SNAPSHOT/apps/continuum/webapp/WEB-INF/working-directory/1
>
> -cbackground-sojus-MavenSCM\opt\continuum-1.1-beta-3-SNAPSHOT\apps\continuum\webapp\WEB-INF\working-directory\1
> sync"}}
> The Bash now removes the backslashes in the client name! The result is that
> the client is not existent and perforce returns with an error.
> This is related to [PLXUTILS-44] and [CONTINUUM-1402]
> I propose to use the underscore character instead of the backslash.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)