Mercurial > hg
changeset 32074:769c831708c7 stable
tests: demonstrate that pager.attend-<abbreviated> doesn't work
A pager.attend-* value that isn't a full command or alias name doesn't
work. We add explicit test coverage of this to demonstrate it.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Tue, 25 Apr 2017 00:19:03 -0700 |
parents | 04629b2da72c |
children | 7000196a8178 |
files | tests/test-pager.t |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-pager.t Mon Apr 24 23:11:44 2017 -0700 +++ b/tests/test-pager.t Tue Apr 25 00:19:03 2017 -0700 @@ -94,6 +94,14 @@ paged! 'summary: modify a 10\n' paged! '\n' +Attend for an abbreviated command does not work + + $ hg --config pager.attend-ident=true ident + 46106edeeb38 tip + + $ hg --config extensions.pager= --config pager.attend-ident=true ident + 46106edeeb38 tip + Pager should not start if stdout is not a tty. $ hg log -l1 -q --config ui.formatted=False