Mercurial > hg
comparison mercurial/policy.py @ 51687:1eab9e40c0c8
convert: fix various leaked file descriptors
Some of these only leaked if an exception occurred between the open and close,
but a lot of these leaked unconditionally.
A type hint is added to `parsesplicemap` because otherwise this change caused
pytype to change the return type from this to `Dict[nothing, nothing]`.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 11 Jul 2024 21:54:02 -0400 |
parents | 18c8c18993f0 |
children | 39e2b2d062c1 f3bef5eb12f9 |
comparison
equal
deleted
inserted
replaced
51686:39033e7a6e0a | 51687:1eab9e40c0c8 |
---|