[PATCH remotenames] remotenames: use atomictemp when writing files
Sean Farley
sean at farley.io
Thu Apr 14 18:34:04 EDT 2016
Jun Wu <quark at fb.com> writes:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1460672160 -3600
> # Thu Apr 14 23:16:00 2016 +0100
> # Node ID d3c9e3afef2973f16df7778991cee2ba4990a6bb
> # Parent 670f94e39c01fd55663b0e1c7b829f78f54d79ac
> remotenames: use atomictemp when writing files
>
> Before this patch, it is possible to have a race condition that a process can
> see an incomplete .hg/remotenames and may crash like:
Awesome, queued this.
More information about the Mercurial-devel
mailing list