Jelle,
It looks like Andy is right, but it's also a limitation of svn.
The Windows file system has a legacy limitation of 260 characters in the
total path length.[1] You have 238 characters in the partial path you've
posted. This only leaves 18 characters to get to the root of the drive you
are checking out to.
I suspect a quick fix would be to move your project folder up a level or
two.
Longer term, this is a bug in your svn client. Windows has had Unicode
versions of the file system calls for quite a while. The Unicode functions
permit a maximum path length over 32K characters long with individual file
(or directory) names up to 255 characters long.
-Mark
[1] See the "Maximum Path Length" discussion at
http://msdn2.microsoft.com/en-us/library/aa365247.aspx
-----Original Message-----
From: Andy Levy [mailto:andy.levy@gmail.com]
Sent: Monday, January 29, 2007 4:13 AM
To: jelle.volckaert@accenture.com
Cc: users@subversion.tigris.org
Subject: Re: Checkout target restricted dir name length
On 1/29/07, jelle.volckaert@accenture.com <jelle.volckaert@accenture.com>
wrote:
>
> I'm having a little problem concerning checkouts from Subversion.
>
> I've written a batch script that checks out the latest Subversion revision
> to a folder.
>
> I've already figured out that when the folder name has more then 6
> characters, the checkout fails.
>
> The following error arises:
>
>
>
> svn: Your .svn/tmp directory may be missing or corrupt; run 'svn cleanup'
> and try again
>
> svn: Can't open file
>
'usermanagement\usermanagement-tiers\usermgmt-presentation-tier\usermgmt-pre
sentation-web\usermgmt-presentation-web-citizenadmin\src\main\java\be\fedict
\usermgmt\citizenadmin\constants\.svn\tmp\text-base\CitizenAdminConstants.ja
va.svn-base':
>
> The system cannot find the path specified.
>
>
>
> When I set the target dir to a name of 6 or less characters, the checkout
> succeeds.
>
>
>
> Is this just a coincidence, or is there really an issue with checkouts and
> path name lengths?
>
> Is there somebody who has dealt with this issue before?
Based on the slashes, I'm guessing you're on Windows? It's a known
issue with a path length limitation in Windows itself (I've
encountered it with other, non-Subversion software as well). If you
can, check out to a shorter path,
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 29 20:00:09 2007