--- 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.