Mercurial > hg-stable
changeset 30962:65a3b4d67a65
pager: add a test of --pager=no functionality
I'm about to upend the pager universe, but I would like to not regress
anything.
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 06 Feb 2017 21:15:35 -0500 |
parents | 354020079723 |
children | a0e4df5a4d5d |
files | tests/test-pager.t |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-pager.t Tue Feb 07 17:33:35 2017 +0100 +++ b/tests/test-pager.t Mon Feb 06 21:15:35 2017 -0500 @@ -207,6 +207,11 @@ $ A=2 hg --config pager.attend-printa=yes printa paged! '2\n' +Something that's explicitly attended is still not paginated if the +pager is globally set to off using a flag: + $ A=2 hg --config pager.attend-printa=yes printa --pager=no + 2 + Pager should not override the exit code of other commands $ cat >> $TESTTMP/fortytwo.py <<'EOF'