You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Glasser <gl...@davidglasser.net> on 2007/10/13 05:57:37 UTC

Re: [Issue 2959] [sparse-directories] depth upgrade against old servers is broken

On 10/12/07, Vlad Georgescu <vg...@gmail.com> wrote:
> Karl Fogel wrote:
> > Although the reporter is sort of involved here (since it's being
> > driven), I'm not sure this new vtable callback would be consistent in
> > spirit with what the reporter does.  Every other callback in the
> > reporter is unidirectional: it pushes data *to* the server.  Now we'd
> > be adding a callback that gets information from (or "about") the
> > server.  But I feel like we'd just be doing it just to avoid adding a
> > new parameter to svn_wc_crawl_revisions3(), rather than because it
> > makes architectural sense.
>
> I was just trying to reduce code churn.  Besides the new parameter, you
> would now have to call svn_ra_has_capability() every time you call
> svn_ra_do_update() (or switch(), diff(), ...) and
> svn_wc_crawl_revisions().  I think that's more intrusive than adding a
> new reporter function, and making svn_wc_crawl_revisons() use it directly.

While the exact solution to this particular situation could go a
different way, having general RA capability support is very exciting.
I can't count the number of times I've gone through the whole "we
could implement it this way, but there's no way for the client to know
if the server supports it, and it's easy to check with svnserve but a
pain with DAV" rigmarole...

--dave

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [Issue 2959] [sparse-directories] depth upgrade against old servers is broken

Posted by Karl Fogel <kf...@red-bean.com>.
"David Glasser" <gl...@davidglasser.net> writes:
> While the exact solution to this particular situation could go a
> different way, having general RA capability support is very exciting.
> I can't count the number of times I've gone through the whole "we
> could implement it this way, but there's no way for the client to know
> if the server supports it, and it's easy to check with svnserve but a
> pain with DAV" rigmarole...

Oh, I think we all agree the new RA functionality should stay.  The
question is whether we also add something to the reporter vtable so
that svn_wc_crawl_revisions3() can get this answer directly, without
having to be passed it by various svn_client_foo() functions.

I'd like to sleep on it.  Er, and, well, fly to Munich on it too, I
guess, since that's the next thing after sleep for me :-).

Vlad, I'll commit my patch as it is for now, since almost all of it
would stand no matter what we decide.  Your proposed additional
changes can be made easily at any time (and we're clearly not
branching tonight, sigh).  Let's let this question sit in our brains
for a bit and then see.

-Karl, tired from fighting RA layers all day

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org