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

Re: svn up -p

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-11-05 21:09:18 CET

On Tue, Nov 05, 2002 at 06:58:47AM -0600, Ben Collins-Sussman wrote:
> Vladimir Prus <ghost@cs.msu.su> writes:
>
> > 3. Don't bother, and use get_file from RA level.
>...
> Besides, I recall gstein mentioning that someday RA->get_file() will
> someday be able to tell the server what version you already have, so
> it can get a true svndiff back instead of a fulltext.

Well, it can get an svndiff today, but it returns that svndiff to the caller
(wrong!), rather than combining it with the local fulltext to produce the
new fulltext.

Right now, we use the RA callbacks to determine a fulltext is present (by
asking for the version URL property which corresponds to that fulltext). We
need to expand the callbacks to say "give me the fulltext that you said you
already had." When we have that callback, then we can combine the fulltext
and diff to produce a new fulltext to return to the get_file caller.

Today, we disable get_file's fetching of svndiff's by disabling the fetch of
the version URL property.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 5 21:08:54 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.