camdroid
camdroid

Reputation: 524

SVN Error - Catch-22

I tried to check out our project from my group's SVN repository on a new computer, but ended up in a catch-22 situation. It works fine for a while, then gets to a certain file it can't move.

Can't move "...\Simfile\tempfile.3.tmp" to "...\Simfile\tempfile.2.tmp": 
Cannot create a file when that file already exists.

Also, there is a file called "tempfile.tmp" in that same directory.

When I try to update further, it says that the folder is locked and to run the Clean Up function. When I try to run the Clean Up function, it says that one of the files in the directory is not under version control. When I try performing either "Tortoise SVN -> Add" or "Tortoise SVN -> Delete and Add to Ignore List," it tells me that the folder is locked and to run Clean Up.

Any help with this would be great - I have a file on the server that I can't download that I need to compare with as soon as possible. Thanks!

Upvotes: 1

Views: 693

Answers (1)

slowdog
slowdog

Reputation: 6206

Are other users of the same repository working from a Unix operating system?

If so, someone might have created two files or directories whose names differ only in case (for example, "Simfile" and "simfile"). Because Windows filesystems are not case-sensitive, this makes the repository impossible to check out on a Windows machine, and results in errors similar to what you describe.

You should be able to use the "Repository Browser" of TortoiseSVN to check if such a case conflict exists. If you find one, it should still be possible to check out or "export" the two clashing files or directories one at a time, placing them in different parent folders. You can also use the repository browser to to fix the clash by renaming one of the two files from the repository browser.

Upvotes: 1

Related Questions