[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: Jack Repenning <jrepenning_at_collab.net>
Date: 2003-08-05 20:54:16 CEST

At 2:40 PM -0400 8/5/03, John Peacock wrote:
>Greg Hudson wrote:
>
>>Anything we stick at the end won't work with relative browsing.
>
>Can you explain that piece to me again?

Not sure if this is what Greg meant, but what I think of when I say
what he said is ...

Suppose we're storing HTML documents in Subversion. Suppose we use a
web browser to browse the repo (via WebDAV, or any of the other
arrangements that display within a browser and support what I'm about
to do). Suppose we don't stop with the nice little directory
listings, but actually click on a file name.

Voila! We see a web page. Cool.

It has links. Within the file itself, they say things like <href
a="../helpers/foo.html">. If we got here via a rev-123 link, then
it's fair to assume that rev 123 also includes ../helpers/foo.html.
But it's not at all safe to assume that HEAD has one, or that it has
the expected contents even if it does exist. So clicking on this
link--whose text is a committed part of the versioned object--should
carry forward the revision qualifications.

http://host/blah/blah/blah?query stuff doesn't carry the "query"
around like this.

http://host/blah/blah;revision/blah/blah/blah does. Doesn't it?

-- 
-==-
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 Tue Aug 5 20:55:09 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.