[PATCH 2 of 2] Reorder rename operations to minimise risk of leaving repository in unknown state
Steve Borho
steve at borho.org
Fri Oct 2 15:44:47 UTC 2009
2009/10/2 Laurens Holst <laurens.nospam at grauw.nl>
> Op 2-10-2009 14:48, Sune Foldager schreef:
>
>> I agree; if someone opens the file without FILE_SHARE_WRITE and
>> FILE_SHARE_DELETE modes, there is really nothing much we can do. We can at
>> most take some efforts to make corruptions less likely,
>>
>
> This is my suggestion, and what this patch should achieve.
>
>
It should be possible to prove the efficacy of the patch, one way or the
other, with two interactive Python sessions on Windows. I can, but probably
can't get to it for a couple of days.
--
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20091002/267ba4bb/attachment.html>
More information about the Mercurial-devel
mailing list