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

Re: Long local absolute path problem on windows (x64).

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 19 Jan 2010 06:29:29 -0500

On Tue, Jan 19, 2010 at 02:39, Daniel Widenfalk <Daniel.Widenfalk_at_iar.se> wrote:
> Hi,
>
> We've experienced a problem with checkouts to long local
> absolute paths. I.e. we have a repository with test cases
> and one of those test cases have a veeery long name for
> regression test purposes. Now, checking out this file
> usually works without a hitch but last week we hit a snag.
>
> Subversion told us about problems creating files under the
> .svn-tree. We did some fiddling with local and repository
> paths and found that the issue seems to be related to local
> paths becoming longer than 260-ish characters long. There's
> a windows limit somewhere around there and that's probably
> the root of the problem.
>
> It seems that the lengths of both the local WC path and the
> path in the repository are involved in this.
>
> We have two WAs for this: 1) Reduce the length of the path
> to the root of the wc or 2) Check out from deeper in the
> repository, e.g. change from ^/trunk/ to ^/trunk/testcases.
>
> Is this a known (and perhaps even documented) issue with the
> Subversion client?

Yes, it's a known issue, but I don't recall if the root cause is in
Subversion or the APR libraries. IIRC, there are actually a few APIs
that can be used to create files/directories in Windows; one has the
limit you're encountering, the other does not.
Received on 2010-01-19 12:30:03 CET

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

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