diff mercurial/scmwindows.py @ 32078:bf5e13e38390 stable

pager: use less as a fallback on Unix This seems reasonable choice per discussion, and the default-default of Git. See also the inline-comment for why. https://www.mercurial-scm.org/pipermail/mercurial-devel/2017-April/097042.html
author Yuya Nishihara <yuya@tcha.org>
date Fri, 28 Apr 2017 20:51:14 +0900
parents 344e68882cd3
children d74b0cff94a9
line wrap: on
line diff
--- a/mercurial/scmwindows.py	Tue Apr 25 22:10:26 2017 -0400
+++ b/mercurial/scmwindows.py	Fri Apr 28 20:51:14 2017 +0900
@@ -16,6 +16,9 @@
 except ImportError:
     import winreg
 
+# MS-DOS 'more' is the only pager available by default on Windows.
+fallbackpager = 'more'
+
 def systemrcpath():
     '''return default os-specific hgrc search path'''
     rcpath = []