This patch adds subclasses of PatchError so we can distinguish
between failure to parse a patch from failure to apply it. It updates
the callers to raise either InputError or StateError depending on
which type of error occurred.
Details
Details
- Reviewers
durin42 Alphare - Group Reviewers
hg-reviewers - Commits
- rHG6a454e7053a1: errors: return more detailed errors when failing to parse or apply patch
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.