Mercurial > hg
diff mercurial/grep.py @ 45989:60523483897c
tests: conditionalize return code on chg in test-config.t
If there is any error while reading config, chg just returns 255 instead of 30.
It seems to me that we cannot conditionalize only return codes in output using
trailing `(chg !)` and hence used testcases.
The test was failing with chg but after this patch, it now passes.
Differential Revision: https://phab.mercurial-scm.org/D9463
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 30 Nov 2020 14:48:02 +0530 |
parents | f9d3ff23bfc0 |
children | d4ba4d51f85f |