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

Re: Cleanup needed after failed update

From: Justin Case <send_lotsa_spam_here_at_yahoo.com>
Date: Tue, 12 Jun 2012 07:49:41 -0700 (PDT)

----- Original Message -----
> From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
> Yes, probably, unless it was killed so quickly that it couldn't even cry
> for help any more, which e.g. happens if you cut the power or use "kill
> -9" on POSIX systems.

We're not talking here about natural catastrophes, but about a file which was in use when tried to update :)
So the solution would be with the first update, the one which fails with file in use - it could revert the temp file creation and just leave the used file and the following tasks un-updated, then exit saying so.
Then the next update will just have to pick up the remaining tasks, no need to cleanup.

Of course if the first update just disappeared because of tsunamis, the revert will also not happen and a cleanup will be needed. That's fine and understandable.

Hm?
JC
Received on 2012-06-12 16:50:19 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.