[PATCH] scmutil: create directories in a race-safe way during update

Bryan O'Sullivan bos at serpentine.com
Tue Feb 12 11:03:34 CST 2013


On Tue, Feb 12, 2013 at 4:23 AM, Thomas Arendsen Hein
<thomas at intevation.de>wrote:

> This is not completely race-safe as makedirs uses recursion, which
> can abort too early when one worker is much faster than the other:
>

That's a good point. I'll take a second stab at it later this morning.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130212/41135837/attachment.html>


More information about the Mercurial-devel mailing list