# Re: Cannot create a file when that file already exists.

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 22 Jul 2008 17:36:47 +0200

HM2K wrote:
> Today when I use TortoiseSVN, and issue an update, it gives me the
> following error:
>
> Command: Update
> Error: Can't create directory
> \editor\_so...\
> Error: Cannot create a file when that file already exists.
> Finished!:
>
> First of all, S: is a mapped network drive - i'm not sure if this will
> make any difference. Secondly, of course the directory exists, it's
> meant to update it if it's been changed, surly.
>
> I can't seem to resolve this error, as there seems to be no solution.
>
> Does anyone have any further suggestions?

If the path is longer than 248 chars, then you've hit a bug in apr.
Use TSVN 1.5 to make this work again (I've patched apr in that release
to fix that bug).

Stefan

--
___
oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
\ \_/_\_/>    The coolest Interface to (Sub)Version Control
/_/   \_\     http://tortoisesvn.net