Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG0e2becd1fe0c: errors: use InputError in uncommit extension
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.
Event Timeline
Comment Actions
I thought the heuristic was that InputErrors are always wrong (e.g. hg not-a-command not-a-file), and StateErrors mean the command is valid in some cases, but the state of the repo won't let it proceed. The 2 non-file checks here feel like state errors, given that. And the file checks feel like a weird combination of both (because some are for file tracking state, and one is whether the file exists at all).