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

Re: RFC: a permanent svn-specific URL syntax

From: Bruce Atherton <bruce_at_callenish.com>
Date: 2003-06-02 18:37:36 CEST

At 09:58 PM 6/1/2003 -0700, Greg Stein wrote:

>The ?rev=whatever form is not appropriate. The query string is applied to
>the resource specified by the other parts of the URL(*). i.e. it implies
>there is *one* resource receiving different query values. But that isn't how
>this stuff should be modelled -- we've got multiple resources. There is one
>for each revision. Thus, the revision number should be part of the path
>portion of the URL to get the proper modelling.

I agree. I think the semicolon should be used, as that is specified by RFC
2396 as the way to specify parameters within the path component:

> Each path segment may include a sequence of parameters,
> indicated by the semicolon ";" character.

So the URL would look something like:

    http://svn.something.net/repository/project/branch1/file.c;rev=1613
Received on Mon Jun 2 18:38:37 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.