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

Re: SVN 1.6.15 checkout fails on particular file

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Fri, 14 Jan 2011 14:26:54 -0600

On Jan 14, 2011, at 14:19, KARR, DAVID (ATTSI) wrote:

> Hmm. I think I found a big clue. When I do the checkout, I'm giving it an alternate name. The "svn checkout" doc is clear that this is legal. In other words, I'm doing "svn checkout svn:... desiredname".
>
> I've tried doing this several times, and it almost always fails on trying to check out this particular file.
>
> I just tried doing the checkout again, but without the alternate name, and it completed without error.
>
> I then tried changing the checkout to use a "simpler" alternate name. I was using a name like "projectname-branch". I then tried "projectname-a". Both of these fail. If I instead use an alternate name of "a", or "projectname" (using the original project name), or "a-a", those all succeed.
>
> I then tried using an alternate name of "projectnamexx". That fails with the same error.
>
> I then tried "abcdefghijklmnopqr" (actually all the iterations before that), and that succeeds, but "abcdefghijklmnopqrs" (one more letter) fails.
>
> I then looked at the full local path this file would represent, and the entire path is 260 characters long. I would think if there's any threshold, it would be at 255, not 259.
>
> Any idea what's going on here?

I don't know what the exact limit is, but it is around 255, and you've clearly hit it, and will need to content yourself with using shorter paths.
Received on 2011-01-14 21:27:38 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.