[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems with the the length of names and Windows

From: Nick Maynard <nick.maynard_at_alumni.doc.ic.ac.uk>
Date: Mon, 11 Feb 2008 22:04:58 +0000

Hello Stefan,

I'm not sure why, but I can't find the patch you sent to the APR dev
list - can you point me in the right direction?

This is quite an important issue for us - as it stands, we can't migrate
from our Linux build machine to Windows. Obviously we can't accelerate
libapr's schedule, but I'm just confirming this made it to their inbox!

Thanks,
Nick Maynard

Stefan Küng wrote:
> Benjamin Bentmann wrote:
>> Stefan Küng <tortoisesvn <at> gmail.com> writes:
>>
>>> 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:
>>
>> But then I do not get the point of the previously mentioned FAQ. It says:
>>
>>> Fortunately, the Apache Portable Runtime (APR) library that
>>> Subversion uses
>> transparently converts absolute paths (like C:\WorkingCopy\file.txt)
>> into the
>> form required by the Windows APIs (\\?\C:\WorkingCopy\file.txt), and
>> back again.
>>
>> The trick you mean should happen "transparently". Why doesn't it? If
>> not the
>> TortoiseSVN GUI, it seems some of the libraries underneath got broken.
>
> Ok, I found the problem/bug:
> While apr really does transparently convert long paths to the long
> format, it fails to do so properly for directory names
> (CreateDirectory() requires the long format for paths > 248 chars, while
> all others require this only for paths > 260 chars - and apr only does
> this for paths > 260 chars).
>
> I've sent a patch to the apr dev list. But this may take a while until
> it gets committed and apr has a new release...
>
> Stefan
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-02-12 07:26:07 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.