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

Long local absolute path problem on windows (x64).

From: Daniel Widenfalk <Daniel.Widenfalk_at_iar.se>
Date: Tue, 19 Jan 2010 08:39:05 +0100

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?

Do you want some sort of recipe to recreate the problem?

Regards
/Daniel Widenfalk
Received on 2010-01-19 08:39:48 CET

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