##// END OF EJS Templates
config: close file even if we fail to read it...
config: close file even if we fail to read it If we get an exception from cfg.read(), we would not close the file before this patch. This patch uses a context manager to make sure we close it. Differential Revision: https://phab.mercurial-scm.org/D7626
Martin von Zweigbergk -
r44362:c41ed5d4 default
Show More
Name Size Modified Last Commit Author
/ rust / hg-core
src
tests
Cargo.toml Loading ...
rustfmt.toml Loading ...