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.
Modified generateDefaultClientspecName in PerforceScmProvider to generate client spec without spaces, ~ and backslashes. This will fix
SCM-370andSCM-351workdir is now translated to specname this way: path = workDir.getCanonicalPath().replaceAll("[/ ~]", "-");