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

Re: The Four Elements of Righteousness

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-07-18 22:02:28 CEST

Greg Stein <gstein@lyra.org> writes:
> some ignorance here. Just how does the tmp area get cleaned? Do we simply
> delete all contents before unlocking the directory?

I'm pretty sure it cleans out all unmentioned files (I'm sort of
assuming this, otherwise my proposal isn't safe, yeah). I know it
does that for text bases, at least. We'd have to make sure it also
cleans out tmp wcprops too, of course.

> If the tmp gets totally cleared all the time, then we might be okay.
>
> I'm just a bit shaky about "leaving this thing around to be magically picked
> up later", rather than specifically identifying "hey. there is something
> right *there* to deal with"

Yeah, I know what you mean. But we already do that with text bases
(er, I'm 90% sure, anyway).

> Seems kind of fine, but it is shaky and really depends on *other* behaviors
> in the system to ensure stuff gets cleaned up properly. A specific marker
> about the file's existence is also a marker that it needs to get cleaned.

Hmmm, the "depends on other behaviors" part is sort of true of any
cleanup system, I think... But let's cross this bridge when we come
to it; no need to design the fix a month before we implement it.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 18 22:14:44 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.