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

Re: Command line repository root relative URLs

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2007-10-22 12:33:56 CEST

On Oct 21, 2007, at 4:01 AM, Troy Curtis Jr wrote:

> There was some
> discussion related to the fact that '^' is technically a valid
> filename character. It was also mentioned (and I agree) that '^' is
> basically never seen in a real-world filename and so should be OK to
> use for my purpose. Also, treating characters specially that are also
> valid characters in filenames is not un-precedented since every shell
> does it (i.e $, `, etc.).

And, in fact, in a Unix file system, the only forbidden characters
are null and "/" (maybe some multi-byte Unicodes). And you can't use
null because it means "end of string" to C, so your URL would get
truncated, and you can't use "/" because it's already highly
significant to URLs. So you're pretty much stuck with using
something that's already legal.

-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jrepenning

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 22 12:34:17 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.