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

Problem with Big File Name

From: Karthik Krishnan <karthik_at_vwebsol.com>
Date: 2005-08-02 16:23:43 CEST

Hi,

I recently encountered an Issue with Subversion 1.2. We recently
migrated (2 months back) to Subversion from good old VSS.

Recently, when I was doing a checkout of my project, I hit upon the
error as following when SVN was about to get a specific File.

QUOTE

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.

UNQUOTE

1. One thing I noticed is that the file name was big.
2. But I am able to checkout this file easily without any problem from
some other folder in my machine.
3. On further digging, I found that the length of the whole path matters
as well. There seems to be some limitation there.
4. In other words, if I had my current folder as say "d:\abcd\efgh" or
d:\abcdefgh" the error is reproduceable. The length of the path is what
matters.
5. After lot of trial and error, I have a clear reproduceable case. If
you follow the below steps you will be able to recreate the problem.

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.

There seems to be some limitation in the length of the Path.

I guess the above information is useful for reproduction of this case.

Your assistance would greatly help us.

Best Regards,
Karthik Krishnan.

Visual Web Solutions
Off: +91-80-2521 2980
Fax: +91-80-2526 4161
Mob: +91-98450 12109
http://vwebsol.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Tue Aug 2 22:59:23 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.