Re: Command line repository root relative URLs
On 10/20/07, Peter Samuelson <email@example.com> wrote:
> [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/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> -----END PGP SIGNATURE-----
Hum, we'll see. My first priority will be to get the ^/ in there.
Even then I don't thing it'd be good to use ^./ to mean the current
directory URL just because it would get confusing what '^' meant.
Though I guess if I shifted my thinking to say '^' means this is a
"special" URL syntax, then it would make sense. However, that isn't
consistent with the new relative externals capability so I probably
wouldn't be a good idea. But I don't know, I guess I'll see how it
all works out.
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Sun Oct 21 04:06:09 2007
This is an archived mail posted to the Subversion Dev