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

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


-----BEGIN PGP SIGNED MESSAGE-----
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.

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGuswWzYr338mxwCURAjd3AJ9DTSgCwhQJ4htCGx/uA7SyonX4NQCeNJWC
9T2n2nf+Hc2UMB36hPpIwvY=
=qx60
-----END PGP SIGNATURE-----



More information about the bazaar mailing list