[PATCH 3 of 7] blackbox: make blackbox not abort if it cannot read

Yuya Nishihara yuya at tcha.org
Sun Feb 7 09:12:56 EST 2016


On Wed, 03 Feb 2016 15:40:45 -0600, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1454522670 0
> #      Wed Feb 03 18:04:30 2016 +0000
> # Node ID 552c58b545c24037fcf09d4ca39c65628bd1c654
> # Parent  53190dfbd7ebb3fe6bc714ce08f8c1a7ae7ef16e
> blackbox: make blackbox not abort if it cannot read
> 
> The test claimed it was "fine", but the output was an abort.
> This changes the output to match the behavior described by
> the test instead of the output the test showed...

>  a failure reading from the log is fine
>  
>    $ hg blackbox -l 3
> -  abort: *: $TESTTMP/blackboxtest2/.hg/blackbox.log (glob)

Well, perhaps it means "a failure" is fine for reading, so do abort.

Is there a benefit to not abort?


More information about the Mercurial-devel mailing list