[Bug 5892] New: `hg showconfig ui.interactive` returns incorrect value

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue May 22 14:07:09 EDT 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=5892

            Bug ID: 5892
           Summary: `hg showconfig ui.interactive` returns incorrect value
           Product: Mercurial
           Version: default branch
          Hardware: PC
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: 7895pulkit at gmail.com
                CC: mercurial-devel at mercurial-scm.org

If you set `ui.interactive = True` in your hgrc and do `hg showconfig
ui.interactive`, it will return `False`. The reason behind this is that the
config command starts pager and pager sets `ui.interactive` to False. We should
show the original value of the config option here which was True.

This bug will also apply to other config settings changed by pager currently or
in future.

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


More information about the Mercurial-devel mailing list