On Nov 28, 2007, at 20:20, ๆฑๅ่ฑช wrote:
> Here I provide a test case to reproduce the filename issue. You
> MUST load the dump file into your own repository and run the tests.
>
> file.zip only shows the filename. It contains no test script.
>
> BE SURE READ the README first. My environment: RHL AS4U4 Kernel
> 2.6.9-42 , Subversion 1.4.5 r25188
I thought I'd take a look at this on Mac OS X (case-insensitive HFS+
filesystem), since that's what I have.
Attempting to expand file.zip using the Mac OS X (10.4.11) Finder
causes a "ditto" process to begin using 100% of the CPU and the
archive does not expand.
Having killed that, attempting to use the command line utility unzip
5.51 (which comes with Mac OS X) to unzip it, the following error is
produced:
$ unzip file.zip
error: cannot create ????????++?ฮฆ??i????????++?ฮฆ??i????????++?ฮฆ??
i????????++?ฮฆ??i????????++?ฮฆ??i????????++?ฮฆ??i????????++?ฮฆ??
i????????++?ฮฆ??i????????++?ฮฆ??i????????++?ฮฆ??i????????++?ฮฆ??i.txt
$
Moving on to the svntest archive. I can load your dumpfile into a new
repository. However, I cannot check out from that repository because:
$ svn co file:///tmp/repo rtest
svn: Can't check path 'rtest/็จ๎๎๎้๎ฎไปฃๅ็จ๎๎๎้
๎ฎไปฃๅ็จ๎๎๎้๎ฎไปฃๅ็จ๎๎๎้๎ฎไปฃๅ็จ๎๎๎
้๎ฎไปฃๅ็จ๎๎๎้๎ฎไปฃๅ็จ๎๎๎้๎ฎไปฃๅ็จ
๎๎๎้๎ฎไปฃๅ็จ๎๎๎้๎ฎไปฃๅ็จ๎๎๎้๎ฎไปฃๅ
็จ๎๎๎้๎ฎไปฃๅ.txt': File name too long
$
Apple's documentation says filenames on HFS+ may be up to 255
characters, and this seems to be 93 characters, so there appears to
be a discrepancy.
http://docs.info.apple.com/article.html?artnum=106843
I'm guessing they meant 255 bytes. Though I can create a file with
this name in the Mac OS X Finder, in fact its on-disk filename (shown
with "ls" in the Terminal) appears to be shortened to at most 255
bytes (possibly shorter so as not to truncate in the middle of a wide
character) while its full display name is evidently stored elsewhere.
I submitted feedback to Apple to get the article updated.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 29 09:55:24 2007