[RFC] making TreeTransform more resistant to unexpected failures / writing problems

Alexander Belchenko bialix at ukr.net
Thu Aug 9 09:11:02 BST 2007

Hash: SHA1

Martin Pool пишет:
> On 8/9/07, John Arbash Meinel <john at arbash-meinel.com> wrote:
>> John Whitley wrote:

>> We could try a couple times, but I think you would want to pause
>> inbetween (what is the sense of retrying 10 times in 10ms). And you
>> still wouldn't be able to get everything (for example if you are failing
>> because of a case conflict).
> The other thing to consider is that on Windows, it could be better to
> write over the files in place rather than renaming the new file into
> place.  I think many programs that hold the file open are not denying
> writers, but just refusing to let it be renamed or deleted.  That has
> some risk that we'll overwrite the only copy of the file, so we might
> like to make a backup first.

I agree here. It's the simplest solution that fit into windows model.

Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the bazaar mailing list