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

Re: Checkout target restricted dir name length

From: Victor A. Wagner Jr. <vawjr_at_rudbek.com>
Date: 2007-01-29 18:32:22 CET

At 03:09 2007-01-29, jelle.volckaert@accenture.com wrote:
>Hi,
>
>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-presentation-web\usermgmt-presentation-web-citizenadmin\src\main\java\be\fedict\usermgmt\citizenadmin\constants\.svn\tmp\text-base\CitizenAdminConstants.java.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?

last time I checked, Windows had a hard upper limit of 262 characters
for the entire path/filename
you're running dangerously close

>
>Kind regards
>
>This message is for the designated recipient only and may contain
>privileged, proprietary, or otherwise private information. If you
>have received it in error, please notify the sender immediately and
>delete the original. Any other use of the email by you is prohibited.

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"
Received on Mon Jan 29 18:33:26 2007

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