[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: Luke Blanshard <luke_at_blanshard.us>
Date: 2003-08-06 04:06:02 CEST

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.

  This provides simple at-the-end rules that will always work, and
in-the-middle rules for manually constructed URLs. And it conforms to
the rules for URLs, as best as I can tell.

  I suppose we'd need to define what happens if two different numbers
appeared in the same path. How about "file not found"?

  I think John Peacock proposed this earlier, actually.

Luke

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 6 04:06:18 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.