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

Re: PROPOSAL: URL-syntax (Was: Re: Official revision syntax for Subversion URLs)

From: Jack Repenning <jrepenning_at_collab.net>
Date: 2003-08-06 18:46:11 CEST

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.
>
>Multiple ;rev='s would probably never be used, but they model the
>exact possibilities that SVN offer, and in a _very_ sweet way!

This sort of game is common in ClearCase, where a version is an
attribute of an element, and the element has universal identity. But
my poor brain can't quite figure out what it means in Subversion.
You say "as it was in rev 5 of what is named x/y on HEAD" but that
object may have had many versions in rev 4 -- one on each tag and
branch.

I think a Subversion version is only identified by the triple of:
repo revision, path to the version of interest, and some unique
identifier for what ClearCase calls the "element." What you've
provided here doesn't quite reach that standard, does it? Which of
the many versions present in revision 4 is wanted?

-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 6 18:46:55 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.