How to solve errors during subversion repository check out svn (Error: URL Error: of existing directory Error: expected URL does not match)

Wednesday, 11th August 2010

A colleague of mine tried recently to use tortoise because his previous work station (a Mac Book notebook) has a problem with his charging device.
Therefore he is right now forced to use Windows as tortoisesvn is among one of the best if not the best option of a subversion client for the Windows platform naturally he decided to install tortoise and to download one of the subversion repositories stored on our development server.

Till now all went fine for him as he conctacted me in Skype to report he cannot check out from the repo, because his check out operation has suddenly froze up with a message:

Added: C:UsersmyuserapplicationconfigsMygeneral.php Error: URL ‘svn+ssh://someuser@192.168.0.1/var/svn-repos/your_repository/trunk/application/configs/Mine’ Error: of existing directory ‘C:Usersmyuserapplicationconfigsmine’ does not match Error: expected URL

This of course is a very raw version of the error and it wasn’t really gave us any clue on what might be causing the desired svn check out.

After a bit research in Google, a lot of testing and many try catches we got what was causing the check out failures on his Windows XP.

The whole issues were caused by the fact that Windows’s FAT16, FAT32 file system is case insensitive.
On that account when tortoise tried to download and save two directories one called Mine and the other called mine under thesame folder hood in windows it failed, since already Mine directory was present and existing.

It later appeared that the mine directory contained some old garbage which doesn’t have to deal with out source application stored inthe repository so we completely decided to remove it.

However the issues caused and the 30 minutes lost in tracking the issues are a lot of lost time for nothing …
So just to close this post if you get error like:


Added: C:UsersmyuserapplicationconfigsMygeneral.php Error: URL
'svn+ssh://someuser@192.168.0.1/var/svn-
repos/your_repository/trunk/application/configs/Mine' Error: of existing
directory 'C:Usersmyuserapplicationconfigsmine' does not
match Error: expected URL

Be sure to check the files content of your svn repository for duplicate directories with case sensitiveness.

I’m not sure if it’s Windows file case insenstive file system (for not implementing case sensitivity by now), subversion repository software running on the server or the tortoise client fault but I’m sure this is rather ridiculous and needs a soon and timely fix by someone of the three mentioned ones.

Share this on:

Download PDFDownload PDF

Tags:

7 Responses to “How to solve errors during subversion repository check out svn (Error: URL Error: of existing directory Error: expected URL does not match)”

  1. Herb Tucker says:
    Firefox 3.6.13 Firefox 3.6.13 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

    Thanks!
    Had exactly the same issue and this helped me solve it, much appreciated 🙂

    View CommentView Comment
  2. Herb Tucker says:
    Firefox 3.6.13 Firefox 3.6.13 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

    Oh, heh, must be our Lord! I just saw your blog/site name, good to meet a brother in the Lord 🙂
    Godspeed!
    Herb

    View CommentView Comment
    • admin says:
      Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
      Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

      Thanks Herb,
      Same to you! 🙂

      View CommentView Comment
  3. Nilang says:
    Google Chrome 11.0.696.71 Google Chrome 11.0.696.71 Windows Vista x64 Edition Windows Vista x64 Edition
    Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24

    Thanks a lot.

    This was exactly what I was looking for.

    It was really helpful 🙂

    View CommentView Comment
    • admin says:
      Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
      Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

      Always glad to help 😉
      Hope to be seeing you around.

      Best!
      Georgi

      View CommentView Comment
  4. Santiago Baldrich says:
    Firefox 5.0 Firefox 5.0 Windows 7 Windows 7
    Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0

    Hi, thanks a lot for the help, I think this is the error I’ve been having, but is there any way to change the dir name locally and not trough the repository? I’m kind of in a hurry and it’s not so easy for me to get “the upstairs” to change the name.

    Thanks again.

    View CommentView Comment
  5. admin says:
    Epiphany 2.30.6 Epiphany 2.30.6 Debian GNU/Linux x64 Debian GNU/Linux x64
    Mozilla/5.0 (X11; U; Linux x86_64; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

    Hi Santiage,

    I don’t completely get what you mean? Maybe you need to substitute something in some files with “sed” command? Please explain a bit thorough what you mean

    View CommentView Comment

Leave a Reply

CommentLuv badge