Mercurial > public > mercurial-scm > hg-stable
diff tests/test-pager.t @ 48267:56d037d07395
backout: backed out changeset 2f2107c01dee
After discussion on the original phab patch, we've decided to wait until
Python 2 support is dropped to do this since the behavior differs for
relatively obscure reasons.
Differential Revision: https://phab.mercurial-scm.org/D11692
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Tue, 19 Oct 2021 19:03:39 +0200 |
parents | 2f2107c01dee |
children | 42d2b31cee0b |
line wrap: on
line diff
--- a/tests/test-pager.t Tue Oct 19 19:04:11 2021 +0200 +++ b/tests/test-pager.t Tue Oct 19 19:03:39 2021 +0200 @@ -219,7 +219,8 @@ #endif A complicated pager command gets worse behavior. Bonus points if you can -improve this. +improve this. Windows apparently does this better, but only sometimes? +#if windows $ hg log --limit 3 \ > --config pager.pager='this-command-better-never-exist --seriously' \ > 2>/dev/null || true @@ -239,6 +240,11 @@ date: Thu Jan 01 00:00:00 1970 +0000 (?) summary: modify a 8 (?) (?) +#else + $ hg log --limit 3 \ + > --config pager.pager='this-command-better-never-exist --seriously' \ + > 2>/dev/null || true +#endif Pager works with shell aliases.