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

Re: Official revision syntax for Subversion URLs

From: Carey Evans <careye_at_spamcop.net>
Date: 2003-08-05 04:22:34 CEST

cmpilato@collab.net writes:

> We already have a quoting mechanism: URI encoding. As long as we
> choose a character which is required to be escaped by the r00lz of
> URIs, then when we see that character prefixing a revision indication,
> we know one of two things:
>
> a) the user is passing an invalid URI to the program, or
> b) the user is indication a revision as part of his URI

There is a character that fits those criteria: the semicolon. It's
not used by much; I only know of its use by Java Servlets, which use
it for session tracking.

Something like http://example.com/repos/project/trunk/README;500 or
...;r=500 seems good to me.

-- 
"Hanging is too good for a man who makes puns; he should be drawn and quoted."
        -- Fred Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 22 10:52:36 2003

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.