On Mon, Mar 20, 2017 at 12:49 AM, Phil Cohen <phil...@fb.com> wrote:

> @@ -248,6 +253,7 @@
>
                 if not self._parentheld:
>                      try:
>                          self.vfs.unlink(self.f)
> +                        self.vfs.unlink(self.f + '.info')
>                      except OSError:
>                          pass
>

This unlink ordering introduces a race condition, where one process can
delete a .info file owned by another.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to