[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 18 Jan 2008 17:12:11 +0100

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.

I guess the libraries are at fault here. Because TSVN passes absolute
paths to the svn API functions. Sure, I could add the \\?\ string myself
in TSVN, but then the paths shown in the progress dialog also have that
ugly string prepended.

I'll do some more checks, maybe I can find out what's going on and where.

Stefan

-- 
        ___
   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 17:12:22 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.