[PATCH] revsetbenchmark: handle exception case

Sean Farley sean at farley.io
Wed Feb 10 18:38:10 EST 2016


Durham Goode <durham at fb.com> writes:

> # HG changeset patch
> # User Durham Goode <durham at fb.com>
> # Date 1455136765 28800
> #      Wed Feb 10 12:39:25 2016 -0800
> # Node ID c791244507faabf86b1fd71746ec5b3d0364ed7d
> # Parent  a036e1ae1fbe88ab99cb861ebfc2e4da7a3912ca
> revsetbenchmark: handle exception case
>
> If the revset being benchmarked has an exception, the handling code was
> encountering an error because the exception did not always have an "output"
> attribute (I think it's a python 2.7 thing).

Sure, seems fine.


More information about the Mercurial-devel mailing list