[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-06 19:01:25 CEST

At 10:24 PM -0400 8/5/03, Martin Ayotte wrote:
>
>Some people says...

Huh. Well, I think all of those people you quote are me :-) And you
left out one of my arguments, and I think failed to engage another
quite head on.

The missing argument: what do you say about the problem of relative
hyperlinks buried inside a versioned HTML document? That is, if
        http://host/repo/path/foo.html@@17
is an HTML document containing
        <a href="../elsewhere/otherpage.html">
... then it would be good if clicking that link in the displayed page
reached "otherpage.html@@17", not "otherpage.html@@HEAD". But that
decision will be made by the browser, not by SVN, and browsers don't
have built-in rules to carry "@@17" around like that. But they DO
have rules to link from
        http://host/repo/r17/path/to/foo.html
via
        href="../elsewhere/otherpage.html"
to
        http://host/repo/r17/path/elsewhere/otherpage.html

Someone was horrified that I would expect this to work. Why should I
not? It *will* work, so long as we don't make any mistakes right
here in this discussion, it's immensely useful, and it's how the web
works.

>Some other says, "we all know the root of the repositories we work on" ...
>
>Wrong ! You never can assume what a SysAdm can do on server side ...

Here, you have not engaged all of my point. I said "we know, or we
can ask someone, or we can figure out for ourselves." I'd be the
last to suppose that a SysAdm could never produce surprises. But if
the admin changes the repo around, I have a wide range of options,
from asking him what the heck he did to firing him, none of which
need involve SVN developers or architecture.

-- 
-==-
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 19:02:14 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.