On Tue, Jan 19, 2010 at 02:39, Daniel Widenfalk <daniel.widenf...@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.