Benjamin Bentmann wrote:
> Stefan Küng <tortoisesvn <at> gmail.com> writes:
>> Are you sure that's the reason why it doesn't work?
>> (TSVN is mentioned there explicitely, indicating that this works)
>> What error message do you get when you try checking out?
> Well, judge by yourself. If a do checkout of r613166 from
> into say
> it works. If I checkout the same repo into a slightly longer root directory like
> the checkout dialog of TortoiseSVN aborts with the following error lines:
> Error> Can't create directory
> Error> 'G:\maven-trunk\maven-embedder\src\test\error-reporting-projects
> The filename or extension is too long.
> Maybe there is some code line in TortoiseSVN that does not use absolute paths
> when dealing with the file system?
TSVN can't handle relative paths, it simply wouldn't work. That's
because the "working directory" of TortoiseProc changes almost randomly
since it is started by the explorer process.
That means, TSVN *always* uses absolute paths.
The problem here is that even absolute paths can't exceed 260 chars. But
there's a little trick you could use:
in the checkout dialog, where the checkout path is shown, prepend "\\?\"
on that path (e.g. instead of G:\maven use \\?\G:\maven). With that, the
checkout succeeds with a nightly build of TSVN (haven't tested with the
1.4.7 release though, but I guess it should work there too).
But that's just the checkout. Update, merge, ... commands will still
suffer from the same problem. Not sure if I can do something about that.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-01-18 16:42:10 CET