[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: Rafael Garcia-Suarez <raphel.garcia-suarez_at_hexaflux.com>
Date: 2003-05-28 17:31:28 CEST

Colin Watson wrote:
> > http://svn.something.net/repository/project/branch1/file.c@1613
> > http://svn.something.net/repository/project/branch1/file.c/1613
> > http://svn.something.net/repository/project/branch1/file.c,1613
>
> Something like this also allows access control to be used easily on both
> HEAD URLs and revision URLs. Using path-info as in "/revision" looks
> ideal for files because it ensures that it can't possibly clash with a
> real entry in the repository, but is not so good for directories.
> Perhaps "?rev=revision" would be simplest.

The simplest safe short solution is probably to use a # sign (ie. the
uri fragment syntax) :
  http://svn.something.net/repository/project/branch1/file.c#1613
It has the same advantages than the path-info solution, but works for
directories as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 28 17:35:41 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.