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

Windows and long pathnames/APR/Etc - Still?

From: David Fox <david_at_volpe.com>
Date: Thu, 02 Jul 2009 23:58:57 -0700

Stefan Küng wrote:
> David Fox wrote:
>> Stefan --
>>
>> Hi. I'm wondering if you remember this early 2008 exchange on
>> tortoisesvn-dev that I pasted in below? To me, it suggests that one
>> ought to be able to prepend "\\?\" to the absolute paths in the
>> tortoiseSVN dialogs and avoid the windows path length issues that all
>> the windows SVN clients demonstrate, if the APR people got around to
>> looking at the patch you sent them.
>
> I checked the apr code: the issue is fixed in the latest version which
> we use in TSVN.
>

Thanks for checking. It turns out that the problem I referred to below
was not related to the length of the filenames at all - that was a
coincidence.

The reason for for the "can't open file" during the checkout is that
the repository (built from a dump file produced by vss2svn) had some
directories with filenames that differed only in case, for example, both
"bar/Foo" and "bar/FOO". With the case insensitive windows filesystems,
the complaint really referred to the fact that after the client moved
"Foo" out of the bar/.svn/tmp/text-base directory, it was surprised and
disappointed that it couldn't find "FOO" there a moment later.

Now the explanation is here in the mailing list archives for posterity.

--df

>> Do you know what happened with this? With the 1.6.3 build 16613 I'm
>> still seeing things like this when I try big recursive checkouts with
>> long pathnames; the results are the same with and without the "\\?\"
>> prefix.
>>
>> \\?\C:\Documents and
>> Settings\dfox\vssdir\PowerSimmtest\trunk\Credit\WebApps\CreditRepotingWebSite\Release\PowerCubeWebsite\CreditReportingWebSite\CreditReportingWebSite\Bin\Interop.Microsoft.Office.Interop.
>>
>> In directory '\\?\C:\Documents and
>> Settings\dfox\vssdir\PowerSimmtest\trunk\Credit\WebApps\CreditRepotingWebSite\Release\PowerCubeWebsite\CreditReportingWebSite\CreditReportingWebSite\Bin'
>>
>> Can't open file '\\?\C:\Documents and
>> Settings\dfox\vssdir\PowerSimmtest\trunk\Credit\WebApps\CreditRepotingWebSite\Release\PowerCubeWebsite\CreditReportingWebSite\CreditReportingWebSite\Bin\.svn\tmp\text-base\DundasWebOlapDataProviderADOMDNet.svn-base':
>>
>> The system cannot find the file specified.
>>
>> I've been assuming that these failures occur because of the pathname
>> length, but maybe not - I only count 252 characters anyway.
>>
>> I'm not sure how to figure out what's going wrong, if it's not lingering
>> path length issues. Is there a way to get more information out of
>> tortoiseproc that might be useful?
>
> It could also be some virus scanner interferring. I doubt that all of
> them properly handle those long pathnames.
>
> Stefan
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2367718

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-03 09:06:17 CEST

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

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