dirstate-v2: Make more APIs fallible, returning Result...
dirstate-v2: Make more APIs fallible, returning Result
When parsing becomes lazy, parse error will potentially happen in more places.
This propagates such errors to callers.
Differential Revision:
https://phab.mercurial-scm.org/D10749