"Jack Repenning" <jrepenning@collab.net> wrote:
> At 3:00 PM -0400 8/6/03, Russell Yanofsky wrote:
> >Jack Repenning wrote:
> >> At 11:52 AM +0200 8/6/03, SLOGEN wrote:
> >>>
> >>> http://host/path/to/repos/x/y;rev=5/z;rev=4
> >>>
> >>> Which retrieves the stuff that's named z, as it was in rev 4 of what
> > >> is named x/y on HEAD, as it was in rev 5's.
> > >
> > > Which of
> > > the many versions present in revision 4 is wanted?
> >
> >The one that has been copied to x/y/ in revision 5.
>
>
> OK, so what are we doing with the "rev=4" information? If rev=5
> applies both to "the version of y of interest" and also "the version
> of z of interest", then this is just a single-revision,
> stick-it-anywhere scheme, isn't it?
No, even though having more than one number in a URL would be redundant,
both numbers would be used. For example, say x/y/z was newly added in
revision 5 as a modified copy of x/z from revision 4. The url
/x;5/y/z;4
refers to the file located at x/y/z in revision 5, and retrieves its
contents from revision 4. It would then be equivalent to:
/x;4/z
For ViewCVS, generating the first URL is easier than generating the second
URL because in the second case it has look up the file's original location
for the revision it is linking to, and in the first case it can use any
known location and just tack on a revision number.
- Russ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 7 00:52:02 2003