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

Re: "svn diff" performance

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-07-24 18:30:50 CEST

Marcus Comstedt <marcus@mc.pp.se> writes:

> > 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()?

do_update() assumes you're comparing the same path in two different
revisions. do_switch() assumes you're comparing two different paths.

The diff and merge command might be comparing anything; the paths
could be identical, or totally unrelated. So they call do_switch(),
since that's always guaranteed to work.

Rather than create a whole new do_diff(), maybe we can add a new flag
to do_switch() that indicates whether we want the vsn-rsc-url data
sent back to us.

---------------------------------------------------------------------
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:32:42 2002

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.