# Error when SVN path contains spaces

**URL:** https://www.finalbuilder.com/forums/t/error-when-svn-path-contains-spaces/5898
**Category:** Bugs
**Created:** [March 22, 2014, 12:13pm UTC](https://www.finalbuilder.com/forums/t/error-when-svn-path-contains-spaces/5898 "2014-03-22T12:13:23Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![miruna](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@miruna](https://www.finalbuilder.com/forums/u/miruna)
#### Post date: [March 22, 2014, 12:13pm UTC](https://www.finalbuilder.com/forums/t/error-when-svn-path-contains-spaces/5898/1 "2014-03-22T12:13:23Z")

</div>

I’m running a FinalBuilder script from ContinuaCI (1.0.0.3010) and I’m getting the following error:  
  
Cannot get new changesets for repository @link(2002, b88e3871-bd30-46bf-a261-def4c0a6ba6c)[ProjectName\_SVN]: External target folder ‘[https://v-svn/svn/redacted/](https://v-svn/svn/redacted/) **Folder%20Name%20Here** /Trunk/Install/ProjInstall’ is not under repository folder '[https://v-svn/svn/redacted](https://v-svn/svn/redacted) **/Folder Name Here** ’  
  
The script works fine from FinalBuilder or when run through FinalBuilder Server.  
  
Any ideas?  
  
Thanks!

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [March 24, 2014, 8:20am UTC](https://www.finalbuilder.com/forums/t/error-when-svn-path-contains-spaces/5898/2 "2014-03-24T08:20:31Z")

</div>

Hi Miruna,  
  
Thank you for reporting this. We have replicated this issue and you can download a build with the fix using the following links:  
  
[ContinuaCI Server 64 bit &nbsp;v1.0.0.3016](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Server.Setup_x64_1.0.0.3016.exe)  
[ContinuaCI Agent 64 bit v1.0.0.3016](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Agent.Setup_x64_1.0.0.3016.exe)  
[ContinuaCI Server 32 bit v1.0.0.3016](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Server.Setup_1.0.0.3016.exe)  
[ContinuaCI Server 32 bit v1.0.0.3016](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Agent.Setup_1.0.0.3016.exe)

---

<div class="post-metadata">

### Author: ![miruna](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@miruna](https://www.finalbuilder.com/forums/u/miruna)
#### Post date: [March 25, 2014, 12:10pm UTC](https://www.finalbuilder.com/forums/t/error-when-svn-path-contains-spaces/5898/3 "2014-03-25T12:10:18Z")

</div>

That worked. Thanks, Dave!

---

<div class="post-metadata">

### Author: ![miruna](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@miruna](https://www.finalbuilder.com/forums/u/miruna)
#### Post date: [August 8, 2014, 5:02am UTC](https://www.finalbuilder.com/forums/t/error-when-svn-path-contains-spaces/5898/4 "2014-08-08T05:02:15Z")

</div>

Hi again!   
  
 We’re currently running 1.5.0.77 and we’ve got a similar issue to the one above except that it now happens if you have periods in the repository path:   
  
 An error occurred while checking out ‘[https://v-svn/svn/redacted/project](https://v-svn/svn/redacted/project) name’ to working folder ‘D:\ContinuaCI\ServerDataShare\Rc\6164bee2’. Message: Error running SVN log : Running C:\Program Files\TortoiseSVN\bin\svn.exe with arguments “checkout --ignore-externals --quiet --force “[https://v-svn/svn/lf/project](https://v-svn/svn/lf/project) name/Branches/9.2/” --non-interactive --trust-server-cert --no-auth-cache --username domain\builduser \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* .” failed with return code 1 and error output: "svn: E170000: URL ‘[https://v-svn/svn/redacted/project%20name/Branches/9.2](https://v-svn/svn/redacted/project%20name/Branches/9.2)’ doesn’t exist

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [August 11, 2014, 4:28am UTC](https://www.finalbuilder.com/forums/t/error-when-svn-path-contains-spaces/5898/5 "2014-08-11T04:28:18Z")

</div>

Hi Miruna,  
  
I’ve not been able to replicate this one. Continua runs svn checkout here with periods, spaces or %20 in the url. I notice that the error message from the svn checkout command has a slightly different url as the one is the command arguments. I guess you’ve edited it before posting?   
  
It looks like the path in the command,&nbsp;[https://v-svn/svn/lf/project](https://v-svn/svn/lf/project) name/Branches/9.2/, is an external. Can you check that this the correct path to the external? Maybe Continua has worked this path out incorrectly?&nbsp;Can you try opening a command prompt, changing directory to a new temporary &nbsp;folder and running the command “svn&nbsp;checkout --ignore-externals --quiet --force “[https://v-svn/svn/lf/project](https://v-svn/svn/lf/project) name/Branches/9.2/” --non-interactive --trust-server-cert --no-auth-cache --username domain\builduser \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* .”. Do you get the same error?

---

<div class="post-metadata">

### Author: ![miruna](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f17d59/32.png) [@miruna](https://www.finalbuilder.com/forums/u/miruna)
#### Post date: [August 11, 2014, 11:44am UTC](https://www.finalbuilder.com/forums/t/error-when-svn-path-contains-spaces/5898/6 "2014-08-11T11:44:38Z")

</div>

Sorry about that, i missed a spot when i edited the message. The project name and path match in all 3 places except for the URL one which has a %20 instead of the space. We already have a repository that points to [https://v-svn/svn/lf/project](https://v-svn/svn/lf/project) name/trunk and that works fine, but i get the error above when i make one for [https://v-svn/svn/lf/project](https://v-svn/svn/lf/project) name/Branches/9.2.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [August 12, 2014, 5:00am UTC](https://www.finalbuilder.com/forums/t/error-when-svn-path-contains-spaces/5898/7 "2014-08-12T05:00:17Z")

</div>

Hi Miruna,  
  
We are not sending the %20 instead of a space - the Subversion server is responding with the %20 in the error message. Even if we do send %20 the SVN checkout command still works.  
  
What SVN server software are you using? Could it be that it is set up to exclude periods? Can you also check the case of the branch URL? The SVN server we use&nbsp;(Visual SVN) is case sensitive. Maybe you need to enter ‘branches’ instead of ‘Branches’?  
  
Try running the command from the error message in a command prompt. e.g.

`svn checkout --ignore-externals --quiet --force https://v-svn/svn/lf/project name/Branches/9.2/"` `–non-interactive --trust-server-cert --no-auth-cache --username domain\builduser --password yourpassword`

  
If you get the same error then the URL is wrong or not accepted by the server.&nbsp;
