diff tests/test-walkrepo.py @ 48682:cdb0d857afe2

dirstate: use a context manager when writing the dirstate This make sure the file is closed in a timely manner. We define a lambda for the file opening. It might seems a bit overkill here but a future changeset will need to do more of those. Differential Revision: https://phab.mercurial-scm.org/D12122
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 31 Jan 2022 08:23:54 +0100
parents 2372284d9457
children 6000f5b25c9b
line wrap: on
line diff