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

Re: svn commit: rev 5521 - in trunk/subversion: include libsvn_client libsvn_subr tests/clients/cmdline tests/libsvn_subr

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-04-02 10:44:24 CEST

On Tue, Apr 01, 2003 at 10:57:57PM -0600, kfogel@collab.net wrote:
> bdenny@tigris.org writes:
[snip]
> > + {
> > + /* They're both URLs, so EOS can't come before ':' */
> > + assert (path1[i] != '\0' && path2[i] != '\0');
> > +
> > + /* No shared protocol => no common prefix */
> > + if (path1[i] != path2[i])
> > + return NULL;
> > + }
>
> Why does protocol difference imply "real" difference?
>
> Is http://foo/bar/baz != svn://foo/bar/baz? Once you get inside the
> repository, they are the same. The fact that they use different
> access methods might be irrelevant.
>
> (Or maybe it *is* relevant, but then an explanation would help, since
> it's not intuitively obvious why the protocol makes a difference.)
[snip]

There's no way to tell, just by looking at your two URLs above, that
they refer to the same repository.

e.g. http://foo/bar/baz might refer to the repository in
/usr/local/www/svn/bar while svn://foo/bar/baz might refer to a
repository in /bar. Only Apache and svnserve know, and they aren't
telling :)

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 2 10:45:30 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.