Skip to content
Snippets Groups Projects
Commit db5dddb38f5b authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

errors: raise InputError on early parse error in dispatch

I didn't think this would have any effect on the tests, but it does
because the catching in `scmutil.callcatch()` still happens. That's
because `dispatch` passes in the function that includes the parsing as
an argument to that function.

I initially used `ConfigError` here but Matt Harbison convinced me to
use `InputError`. I think that makes sense since error is not in a
config file.

Differential Revision: https://phab.mercurial-scm.org/D9387
parent 6cc269bd1c29
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment