[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: Branko Čibej <brane_at_xbc.nu>
Date: 2003-08-06 10:35:56 CEST

Luke Blanshard wrote:

> kfogel@collab.net wrote:
>
>> All I'm saying is that thing-in-the-middle solutions are undesirable.
>> There remains the whole class of thing-at-the-end solutions, which is
>> what I'm assuming we'll end up with (perhaps with '@@' as separator,
>> perhaps something else).
>>
>>
> Seems to me we could have it both ways:
>
> http://host/some/path/leading/to/file.html;123
>
> ... for thing-at-the-end, or:
>
> http://host/some/path;123/leading/to/file.html
>
> ... for thing-in-the-middle. Note that we don't know or care whether
> /some/path is the root of the repository, it just has to be in the
> repository. The idea is that the revision number can appear at *any*
> component of the path.

I don't think we need this. Remember, it only makes sense to have _one_
explicit version number per path -- you can't request

    http://host/part;1/file;2

because the revision number always identifies a whole tree. Since this
is the case, I think appending the revision number to the end of the URL
seems to be the most natural way. And as ';' appears to be an URI
separator that has the right semantics (i.e., it indicates a different
resource), the URL;REV syntax is sane. We could also support URL;{date}...

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 6 10:38:48 2003

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