Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/utils/files.rs @ 48342:10c32e1b892a
rhg: Propogate manifest parse errors instead of panicking
The Rust parser for the manifest file format is an iterator. Now every item
from that iterator is a `Result`, which makes error handling required
in multiple new places.
This makes better recovery on errors possible, compare to a run time panic.
Differential Revision: https://phab.mercurial-scm.org/D11771
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Tue, 23 Nov 2021 18:27:42 +0100 |
parents | 789475ef2b22 |
children | e98fd81bb151 |
comparison
equal
deleted
inserted
replaced
48341:51f26c8088b2 | 48342:10c32e1b892a |
---|