[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: Shigeya Suzuki <shigeya_at_wide.ad.jp>
Date: 2007-10-22 15:07:52 CEST


On 10/22/07, Ulrich Eckhardt <eckhardt@satorlaser.com> 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.

> > I believe svn should warn if user try to commit a file with more than
> > NAME_MAX-9 bytes of name.
> I agree, this would be an improvement.


> > And, I have a question:
> > Is it possible to specify a file in repository other than path name?
> >
> > Why I'm asking this is, I like to specify pathname directly.
> >
> > I'm trying like follows (and several variant of these) but something
> > going on in UTF-8 encoding and failing...
> >
> > -- >8 -- cut here -- >8 --
> > #!/bin/sh
> > LC_ALL="ja_JP.UTF-8"; export LC_ALL
> > svn rm `svn ls |fgrep PATTERN`
> > -- >8 -- cut here -- >8 --
> >
> > # PATTERN matches only to one line of output
> 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...

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.

I currently does not have time to hack svn to do it by myself. I
probably need to create whole repository from scratch. For this
repository, that's an acceptable solution..



> hope that helps,
> Uli
> --
> Sator Laser GmbH
> Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
> **************************************************************************************
> Visit our website at <http://www.satorlaser.de/>
> **************************************************************************************
> Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
> E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
> **************************************************************************************

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 22 15:08:20 2007

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