Mercurial > hg
comparison hgext/share.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 | 4c6151b69085 |
children | f4733654f144 |
comparison
equal
deleted
inserted
replaced
51686:39033e7a6e0a | 51687:1eab9e40c0c8 |
---|