D7574: hg-core: add utils::path to project
Alphare (Raphaël Gomès)
phabricator at mercurial-scm.org
Mon Dec 9 05:54:19 EST 2019
Alphare added inline comments.
INLINE COMMENTS
> Cargo.toml:12
> [dependencies]
> +anyhow = "1.0.20"
> byteorder = "1.3.1"
Should we adopt this crate for error handling?
I feel like our current solution - although it might need a refactor - is good at forcing the programmer to provide context with finer-grained errors that what you are required to do with `anyhow`. I actually like `anyhow` better than more involved crates, but we will need to have a good "error hygiene" if you will.
This seems like a better place to discuss this than the previous patch.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7574/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7574
To: indygreg, #hg-reviewers
Cc: Alphare, durin42, kevincox, mercurial-devel
More information about the Mercurial-devel
mailing list