Subversion and Failed to add file

October 9th, 2006

I recently took over maintainence of a project that had been hosted on a subversion repo on a linux machine. (I’m on OS X). I asked the kind developer to give me an svn dump of his repo so that I could continue where he left off.

All went well, as I loaded the repo to my subversion host, which is also linux, but when I tried to check the project out to my development machine - the afformentioned OS X - I kept getting this error:

svn: Failed to add file ‘Foo.rb’: object of the same name already exists).

I couldn’t figure it out, but with a little bit of prompting on #svn I realized that the error is because OS X has a case insensitive file system, and there was both a foo.rb and a Foo.rb file in the problematic directory. The fix? svn mv https://my.repo.example/Foo.rb https://my.repo.example/foo_fix.rb

What a pain, but at least its fixed.

subversion, programming | Comments | Trackback Jump to the top of this page

Leave a Reply

  •  
  •  
  •  

You can keep track of new comments to this post with the comments feed.

Recently on Flickr

    mull - 21.jpgmull - 20.jpgmull - 19.jpgmull - 18.jpg

Recently Listened

Meta

The Carousell