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

Re: Mac OS X Icon files (Invalid control character)

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2005-09-21 17:20:08 CEST

>>>>> "Charles" == Charles Bailey <bailey.charles@gmail.com> writes:

 Charles> On 9/21/05, Jens v. P. <developer@jevopi.de> wrote:
>> Please don't tell me that '0x0d' is not allowed in
>> filenames. First, it isn't me naming icons like that, second it
>> comes down to the question whether spaces or umlauts are allowed
>> or not.

 Charles> I tripped over a similar problem several months back, and
 Charles> IIRC Subversion doesn't allow CR or LF in pathnames because
 Charles> of concern that it'd complicate message output, and possibly
 Charles> flummox line-based parsing (maybe dump/load?). Other
 Charles> control chars are out since they're not legal XML
 Charles> characters.

 Charles> This is, unfortunately, one of a few areas where Subversion
 Charles> doesn't play nicely with Mac OS X (extended attrs/resource
 Charles> forks and case-senstitivty being the others).

Not to mention with any other Unix, or perhaps even other operating

File systems have rules for what characters are legal in filenames.
For Unix, those are very relaxed indeed. For that matter, Windows
doesn't impose many restrictions either (though they differ from those
of Unix).

Sure, some of the valid filename characters aren't legal in XML unless
quoted. That just means that the UI programs have to quote those
names when they encounter them; it doesn't mean such names can be

It's one thing to have a restriction that "Subversion uses .svn as a
directory for its stuff so you can't use that name yourself". It's
quite another matter for Subversion to outlaw whole classes of
filenames that are perfectly legal in one or more of the client
operating systems.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 21 17:22:31 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.