# HG changeset patch # User Gregory Szorc # Date 2017-04-25 07:19:03 # Node ID 769c831708c7acc5100a932922c7dba518454067 # Parent 04629b2da72c5a6604d9ca956759999fccd4f18d tests: demonstrate that pager.attend- 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. diff --git a/tests/test-pager.t b/tests/test-pager.t --- a/tests/test-pager.t +++ b/tests/test-pager.t @@ -94,6 +94,14 @@ Abbreviated command alias should also be 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