[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: Peter Samuelson <peter_at_p12n.org>
Date: 2007-10-21 03:20:19 CEST

[Troy Curtis Jr]
> That said Subversion should certainly be able to support filenames
> containing '^'. What I propose is the we only treat arguments
> containing '^/' as the first two characters specially. That was '^'
> could occur anywhere else in path and can precede any other character
> without special interpretation. Also no special escaping needs to be
> supported since doing './^/rest/of/path' would not be treated
> specially.

That sounds wonderful to me (not a committer). But I'd really like to
have ^./ and ^../[../../ ...] be special as well. (../ would _only_
be valid in a sequence immediately following ^, not elsewhere).

> I suppose that we could come up with some alternate syntax for
> supporting the "../" relative URLs but I think it would be much less
> useful in practice.

It would be for me, as would "^." meaning URL of current directory.
One possible pitfall with relative URLs, though, is converting path
syntax to URL syntax. (Not an issue on Unix, but it would be on Win32
or VMS.) I suppose you'd just require URL syntax (meaning "/" as a
directory separator) in that case.

Peter Samuelson | org-tld!p12n!peter | http://p12n.org/

Received on Sun Oct 21 03:20:49 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.