subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Case <>
Subject Re: Cleanup needed after failed update
Date Tue, 12 Jun 2012 14:49:41 GMT

----- Original Message -----
> From: Ulrich Eckhardt <>
> 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.


View raw message