Mercurial > hg
view rust/rhg/Cargo.toml @ 48488:f8540fe4be0f
procutil: avoid an uninitialized variable usage on tempfile exception
If `pycompat.unnamedtempfile()` raises an exception, it would have called
`stdin.close()` in the `finally` block without it being initialized first.
Differential Revision: https://phab.mercurial-scm.org/D11928
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 14 Dec 2021 17:29:30 -0500 |
parents | ebdef6283798 |
children | d3ec82016104 |
line wrap: on
line source
[package] name = "rhg" version = "0.1.0" authors = [ "Antoine Cezar <antoine.cezar@octobus.net>", "Raphaël Gomès <raphael.gomes@octobus.net>", ] edition = "2018" [dependencies] hg-core = { path = "../hg-core"} chrono = "0.4.19" clap = "2.33.1" derive_more = "0.99" home = "0.5.3" lazy_static = "1.4.0" log = "0.4.11" micro-timer = "0.3.1" regex = "1.3.9" env_logger = "0.7.1" format-bytes = "0.2.1" users = "0.11.0"