Mercurial > hg-stable
comparison contrib/builddeb @ 34096:1104718fb090
checknlink: use a random temp file name for checking
Previously, if `.hg/store/00manifest.d.hgtmp1` exists, hg will copy the
entire `00manifest.d` every time when appending new manifest revisions.
That could happen if Mercurial or the machine crashed when `.hgtmp1` was
just created but not deleted yet.
This patch changes the fixed name to a random generated name. To be
consistent with D468, `~` suffix was used.
Differential Revision: https://phab.mercurial-scm.org/D611
author | Jun Wu <quark@fb.com> |
---|---|
date | Fri, 01 Sep 2017 17:09:53 -0700 |
parents | c4f0e764b231 |
children | f1c2552c2de7 |
comparison
equal
deleted
inserted
replaced
34095:b4b196092cc3 | 34096:1104718fb090 |
---|