[Bug 5580] New: ui.paginate=never (or False) disables --pager=yes
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Tue May 30 18:17:20 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5580
Bug ID: 5580
Summary: ui.paginate=never (or False) disables --pager=yes
Product: Mercurial
Version: 4.2
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: pager
Assignee: bugzilla at mercurial-scm.org
Reporter: hg at pewpew.net
CC: mercurial-devel at mercurial-scm.org
I'm sure there are other hgrc options that can't be overridden with a flag, but
this one is a bit awkward, IMHO.
$ cat hgrc
[ui]
paginate=False
$ HGRCPATH=hgrc hg help config --pager=yes
<all contents, no pager>
$ HGRCPATH=hgrc hg version -v
Mercurial Distributed SCM (version 4.2+23-387a76cac28e)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2017 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Enabled extensions:
My real desire can be expressed as follows: "My site admins have enabled pager
by default; I do not want this, so I want to disable it by default but was
surprised I couldn't use --pager=yes on the commandline".
I don't *actually* do that often, though, and would probably just do `| less`
instead of a command-specific flag, so responding "Working as Intended, just do
`| less` yourself if you've disabled the pager" is an OK response imho,
especially since I (personally) never use --pager=auto.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list