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

Re: svn_error: #21055

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-04-19 21:30:13 CEST

Karl Fogel <kfogel@collab.net> writes:

> Sam TH <sam@uchicago.edu> writes:
> > > > > Try losing that trailing slash.
> > > >
> > > > Yup, that fixes it. Methinks that's a bug. :-)
> > >
> > > I completely concur.
> > >
> > > Wanna patch it? <grins hopefully> :-)
> >
> > I'd be happy to, but where should I look? I got through about 6
> > function calls where the URL still hadn't even been looked at, just
> > passed around like a hot potato. Where is the parsing happening?
>
> I don't know either. That's why I asked if you want to patch it. :-)
>
> Ben sez maybe start at libsvn_ra_local/split_url.c ?

This func splits a 'file' url into 2 parts:

 file:///home/foo/bar/repos/A/D/G

    turns into

 /home/foo/bar/repos ==> the db3 environment we want to open
       and
 /A/D/G ==> the path in the fs we care about.

This func simply needs to strip a trailing '/' off the 2nd half, I
guess. :)
Received on Sat Oct 21 14:36:29 2006

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