Mercurial > hg-stable
changeset 30964:b7e073ae44c4
tests: switch "this command isn't paged" example to id
I'm about to enable pager support in summary.
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 06 Feb 2017 23:57:32 -0500 |
parents | a0e4df5a4d5d |
children | 8b83b626fb1e |
files | tests/test-pager.t |
diffstat | 1 files changed, 6 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-pager.t Tue Feb 07 17:08:41 2017 -0500 +++ b/tests/test-pager.t Mon Feb 06 23:57:32 2017 -0500 @@ -26,7 +26,7 @@ > hg ci -m "modify a $x" > done -By default diff and log are paged, but summary is not: +By default diff and log are paged, but id is not: $ hg diff -c 2 --pager=yes paged! 'diff -r f4be7687d414 -r bce265549556 a\n' @@ -50,23 +50,13 @@ paged! 'summary: modify a 9\n' paged! '\n' - $ hg summary - parent: 10:46106edeeb38 tip - modify a 10 - branch: default - commit: (clean) - update: (current) - phases: 11 draft + $ hg id + 46106edeeb38 tip -We can enable the pager on summary: +We can enable the pager on id: - $ hg --config pager.attend-summary=yes summary - paged! 'parent: 10:46106edeeb38 tip\n' - paged! ' modify a 10\n' - paged! 'branch: default\n' - paged! 'commit: (clean)\n' - paged! 'update: (current)\n' - paged! 'phases: 11 draft\n' + $ hg --config pager.attend-id=yes id + paged! '46106edeeb38 tip\n' If we completely change the attend list that's respected: