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

Re: wcprops dir left after upgrading WC

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-04-26 22:19:35 CEST

Ivan Zhakov writes:
> On 4/26/06, Peter N. Lundblad <peter@famlundblad.se> wrote:
> > Ivan Zhakov writes:
> > My reasoning is that it is so harmless if it happens that actually reporting
> > it makes more harm by confusing users, but I'm not really objecting.
> >
> But if sigfault happens after wcprops directory have deleted we loose
> wcprops at all.
> Of course I like simpler code, so if we don't fear such situations
> I'll do it as you suggesting.
>
Oh, I was expressing myself confusingly today. I think we should remove
the props between writing the log and running it (as you suggested), so we
don't risk loosing them. The problem is that we risk leaving the old props
behind if an error happens here. I think we can live with that, and if we do
we could as well ignore errors when trying to delete the wcprops to not confuse
users in this case. The result after cleanup will be the same.

A reason I want to keep this upgrade simple is that it is hard to
test (at least with our test suite), so it is good if it is simple.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 26 22:20:05 2006

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.