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

Re: Warning on very long file names

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-23 02:11:04 CEST

On Oct 22, 2007, at 08:07, Shigeya Suzuki wrote:

> On 10/22/07, Ulrich Eckhardt wrote:
>
>> On Monday 22 October 2007 06:43, Shigeya Suzuki wrote:
>>
>>> I accidentally committed a file with a filename length at 251 byte.
>>> (Japanese Kanji Characters using UTF-8, 'LC_ALL="ja_JP.UTF-8"')
>>>
>>> I could commit, but I can't update, because filename length exceeds
>>> 255-9 bytes, so svn could not write file with ".svn-base' appended.
>>
>> I can't help you with the bug directly, but I think you should be
>> able to do a
>> server-side rename directly, i.e. 'svn move' with two URLs to
>> rename it to
>> something that doesn't hit this limit.
>
> Right. Problem is, same as below.. I currently can't specify the file
> name, which contain some accent characters.

[snip]

>> I believe there was an issue about different representations for
>> UTF-8 that
>> are equivalent, e.g. an 'a with accent' or a 'letter a' with
>> 'combining
>> accent' that are not treated as equivalent by SVN. Otherwise, I'm
>> not sure I
>> understand what you mean...

There was a bug, but I'm not sure it's relevant here:

http://subversion.tigris.org/issues/show_bug.cgi?id=2464

> Right. that's probably the reason why, and if that happens, I never
> able to specify files by pathname, neither as working file name nor
> URLs.

You *should* be able to access the file via direct URL, regardless of
how many special characters you've used in its name. Just percent-
encode the characters in UTF-8. If you are serving the repository via
HTTP, access the directory containing this file in the web browser,
then click the filename. Now you can copy the already-encoded URL to
this file from the browser address bar. If you're serving via another
access method, paste the filename into, for example, Google search in
your browser, then grab the encoded version from the resulting search
URL.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 23 02:13:44 2007

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.