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

Re: diff problems over ra_dav

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-04-18 04:06:46 CEST

On Wed, Apr 17, 2002 at 04:57:41PM -0500, Ben Collins-Sussman wrote:
>...
> the root of the repository. Bam, we bail out in
> dav_svn_simple_parse_uri, line 160. There's a cryptic comment there:
>
> /* ### we don't handle http://host/repos or http://host/repos/ yet */
>
> So apparently if you tell the DAV layer to switch to any repository
> root, it's gonna bail. We've not seen this bug yet, because we have
>...
> Anyway, enough beating around the bush. Gstein, can you shed some
> light on the problem? Maybe explain the comment?

In the distant past, that function would only recognize URLs of the form:

  http://host/repos/$svn/...

Thus, we wanted to bail on host/repos or host/repos/. The comment made
perfect sense within that respect.

Then, at some later time, somebody (*cough*ben*cough*) added the capability
to recognize "public" URLs. Those of the form: http://host/repos/foo.
However, that change did not account for the root.

Should be a simple fix. I'll get it later tonite.

[ still gotta look into Ben Collins' timeout bug, too... ]

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 18 04:07:03 2002

This is an archived mail posted to the Subversion Dev mailing list.