[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: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: 2007-10-21 04:06:00 CEST

On 10/20/07, Peter Samuelson <peter@p12n.org> 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)
>
> iD8DBQFHGqlTXk7sIRPQRh0RAmo8AJ9HE+RoFxAXQg+5eGzGB7EX3stM4ACgsdem
> WMLLmnZwbrHU1pPzA4y5/dk=
> =oFqF
> -----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.

Troy

-- 
"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: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 21 04:06:09 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.