Computer User
Computer User

Reputation: 546

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?

Upvotes: 4

Views: 3829

Answers (2)

Brayan Hernández
Brayan Hernández

Reputation: 11

  1. You should better rename the file, for example file to file2.
  2. Do commit.
  3. After rename file2 to File and the conflict will be solved.

Upvotes: 0

Maglob
Maglob

Reputation: 1583

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.

Upvotes: 4

Related Questions