Problem during svn checkout - file already exists

46 views
Skip to first unread message

Sven N.

unread,
Jul 9, 2020, 10:29:38 AM7/9/20
to TortoiseSVN

Hello,

I'm trying to checkout a subversion repository from a subversion server.
The directory I'm checking out to is a Network drive mounted via Samba.
The samba server has mounted this drive itself via NFS.

I'm getting the error: "Can't create directory X:\data\.svn: File can't be created because it already exists" (in German, I translated it to English).

This appears to have to do with file locking that TortoiseSVN is doing. Is there a way to tell TortoiseSVN not to do file locking?

I'm not talking about Subversion locks.

Thanks for your help.

Best regards,
-Sven Neuhaus
PS: I am unfortunately forced to use TortoiseSVN 1.7 to remain binary compatible with Subversion 1.7

Stefan

unread,
Jul 9, 2020, 2:20:37 PM7/9/20
to TortoiseSVN
Don't do that. You're lucky you get an error right away, that's not always the case. Sometimes it seems to work fine, until you lose all your data:

Sven N.

unread,
Jun 9, 2021, 7:36:18 AM6/9/21
to TortoiseSVN
Why is it a problem to have a working copy stored on a network share? There is only one user accessing the working copy from one machine.

Bruce C

unread,
Jun 9, 2021, 7:47:41 AM6/9/21
to TortoiseSVN
There's a FAQ on this topic at https://tortoisesvn.net/faq.html#wconshare.

Hope this helps.
Reply all
Reply to author
Forward
0 new messages