Mercurial > hg-stable
diff mercurial/cext/charencode.c @ 48867:2d0e22171ef9 stable
rhg: align the dirstate v2 writing algorithm with python
Use the same algorithm of file append as python does, where we do a manual
seek instead of relying on O_APPEND. (see the reasons in the inline comment)
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Thu, 19 May 2022 12:23:38 +0100 |
parents | 83f0e93ec34b |
children | 92c430e7e37a |