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

Re: svn diff auth bug

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-18 16:09:20 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> We have three different code paths for 'svn diff':
>
> * working compared to text-base (no network)
>
> * working compared to URL
>
> * URL compared to URL
>
>
> The latter two cases are fancy diff editors -- one lives in libsvn_wc,
> the other in libsvn_client, I believe. They both involve calling
> RA->get_file() into a temporary file, which is then diffed against
> either your working file, or another temp file.

The "working compared to URL" diff (diff -rN) works like update, it
describes the working copy to the server and gets a REPORT(?) to
convert it to the given revision. I don't think it calls
RA->get_file directly, I think the diffs are in the REPORT.

The "URL to URL" diff (diff -rN:M) does call RA->get_file, twice for
each file.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 18 16:10:08 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.