Mercurial > hg
comparison COPYING @ 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 | 8c8b55733cbd |
children |
comparison
equal
deleted
inserted
replaced
48681:e845537f6adb | 48682:cdb0d857afe2 |
---|