[PATCH 4 of 4] hook: don't crash on syntax errors in python hooks
Yuya Nishihara
yuya at tcha.org
Mon Feb 29 11:19:30 EST 2016
On Mon, 29 Feb 2016 14:20:50 +0000, Jun Wu wrote:
> I have been getting "ERROR: test-check-commit.t output changed" for a
> while and traced back to this.
>
> --- test-hook.t
> +++ test-hook.t.err
> @@ -536,7 +536,7 @@
> exception from first failed import attempt:
> Traceback (most recent call last):
>
> - ^
> + ^
Perhaps it depends on Python versions where the syntax error is detected.
Do we need these lines in tests?
More information about the Mercurial-devel
mailing list