Ben Collins-Sussman <sussman@collab.net> writes:
> I think I have a better explanation of the problem now:  it's that
> stupid <resource-walk> tree being appended to the normal update
> response.  Generating that <resource-walk> tree means returning the
> vsn-rsc-url for *every* item in the tree!  *That's* probably why the
> server is taking anywhere from 20 seconds to a minute to chug.
> 
> The underlying problem:  'svn diff -rX:Y' and 'svn merge -rX:Y' are
> calling RA->do_switch() under the hood, which is a variant of
> RA->do_update().  Because it's a switch, the <resource-walk> is being
> sent.  The design problem here is that only 'svn switch' actually
> wants the resource walk.  'svn diff' and 'svn merge' don't care one
> whit.
> 
> We need a way to prevent that resource walk from happening for two of
> the three callers to RA->do_switch().
Sounds like a third variant is needed then.  do_update(), do_switch()
and do_diff().  What are the other differences (apart from the
resource walk) between do_update() and do_switch() that cause diff and
merge to not be able to use do_update()?
  // Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 24 18:25:06 2002