Mercurial > public > mercurial-scm > hg-stable
diff mercurial/ui.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 | 1bfb9a63b98e |
children | 4d438efb825a |
line wrap: on
line diff
--- a/mercurial/ui.py Tue Apr 25 22:10:26 2017 -0400 +++ b/mercurial/ui.py Fri Apr 28 20:51:14 2017 +0900 @@ -857,8 +857,7 @@ # HGPLAINEXCEPT=pager, and the user didn't specify --debug. return - fallbackpager = 'more' - pagercmd = self.config('pager', 'pager', fallbackpager) + pagercmd = self.config('pager', 'pager', rcutil.fallbackpager) if not pagercmd: return