--- a/tests/test-pager.t Mon Apr 24 23:10:43 2017 -0700
+++ b/tests/test-pager.t Mon Apr 24 23:11:44 2017 -0700
@@ -84,6 +84,16 @@
paged! 'summary: modify a 9\n'
paged! '\n'
+Abbreviated command alias should also be paged
+
+ $ hg hist -l 1
+ paged! 'changeset: 10:46106edeeb38\n'
+ paged! 'tag: tip\n'
+ paged! 'user: test\n'
+ paged! 'date: Thu Jan 01 00:00:00 1970 +0000\n'
+ paged! 'summary: modify a 10\n'
+ paged! '\n'
+
Pager should not start if stdout is not a tty.
$ hg log -l1 -q --config ui.formatted=False