Search code examples
svncase-sensitive

SVN name conflict?


Someone thought it would be a great idea to give multiple files a name only differing by case.

For example:

/fonts/arial.swf
/fonts/Arial.swf
/fonts/hevetica.swf
/fonts/Hevetica.swf

This is no problem for Linux. However for Windows and OS X the repository won't synchronize.

Does anyone know to get around this, as currently I can't figure out how to successfully checkout the repository?


Solution

  • I guess you have to fix the repo. Some ideas...

    1) Get list of files with "same" names from repo, with something like:

    svn list <your-repository> | tr 'A-Z' 'a-z' | sort | uniq -d
    

    And then either svn remove or svn rename the files and fix the repo.

    2) try svn checkout --force or svn export --force, and cross fingers.