# Re: Problem with Big File Name

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2005-08-03 01:43:08 CEST

Karthik Krishnan wrote:
> svn: Your .svn/tmp directory may be missing or corrupt; run 'svn
> cleanup' and try again
> svn: Can't open file
> '.svn\tmp\text-base\FEDI-AutoCollectExpress-FileUpload_TRANSLATIONS_TRANSLATION
> XML_FEDI-AutoCollectExpress-FileUpload_FEDI-AutoCollectExpress-Custom-Output-Xml.LOB.svn-base':
> The system cannot find the path specified.

> Reproduction steps
> -----------------
> 1. Create a file with a name having the length of 143 bytes. Please see
> attached.
> 2. Import this file into SVN REPOSITORY.
> 3. Now, in your local machine, create a folder with folder name of
> length 85 bytes. Please note since I am using Windows OS, I created
> this folder under D:\
> 4. Now switch to this folder and simply try to checkout the above
> mentioned file. The error will occur.
> 5. Now, go and rename the local folder to have 84 bytes instead of 85
> bytes length for folder name.
> 6. Try to checkout the file, it will go thru successfully.

".svn\tmp\text-base\" (19)
+ 85 character path (85)
+ 143 character filename (143)
+ ".svn-base" (9)
+ NUL (1)
= 257

This is one more character than Windows can handle for a path and
filename. Path and filename together (with terminating NUL) is limited
to a maximum of 256 characters (defined by MAX_PATH).

--
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 3 01:45:01 2005

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.