[Bug 5893] New: --pager and help about pager (2 bugs)

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu May 24 08:40:43 EDT 2018


            Bug ID: 5893
           Summary: --pager and help about pager (2 bugs)
           Product: Mercurial
           Version: 4.5.3
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: srn at coolheads.com
                CC: mercurial-devel at mercurial-scm.org

(1) If I have a system-wide "--pager=never" implemented in
host:/etc/bash.bashrc as follows:

hg() {                                                                          
    ## turn off the annoying pager for working in an emacs shell buffer         
    /usr/bin/hg --pager=never $@ ;                                              

...then pushing to host's repository fails (actual debug message below):

stdout is:

pushing to ssh://lijezorp02//usr/local/ch-priv3
remote: abort: potentially unsafe serve --stdio invocation: ['--pager=never',
'-R', '/usr/local/ch-priv3', 'serve', '--stdio']"

stderr is:

abort: no suitable response from remote hg!


Let the server process simply ignore the --pager argument instead of
complaining and dying.


(2) Man page for hgrc(5) does not mention "paginate", as in:

paginate = never

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list