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

Re: [Issue 806] Changed - De-kluge libsvn_ra_dav's fix for issue #797, use clean fix

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-26 00:18:42 CEST

[moving this to the dev list, I find email much easier for discussions]

issues@subversion.tigris.org writes:

> + Philip, what exactly did you have in mind for solving this the access
> + baton way?

I don't think I ever worked out a full solution...

> + I'm looking over the history of this issuue, and over the access baton
> + code, and trying to wrap my brain around things. Probably I'm just
> + being dense, but right now only the "write to tmp area then have a log
> + command move the tmp/wcprop to the real wcprop" solution is coming to
> + mind.

You need to defer the log file, which means you need to keep track of
whether it is required, and you don't want to rely on the presence of
the tmp file as it could be out of date. So you create the tmp file,
and you record the fact in memory in the access baton. Then when you
create the deferred log file you query the access baton to determine
if the tmp file is valid.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 26 00:19:19 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.