[Bug 5664] New: hglib should allow prompt handling for all commands, and include --noninteractive when no prompt handler is specified
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Mon Aug 21 06:34:59 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5664
Bug ID: 5664
Summary: hglib should allow prompt handling for all commands,
and include --noninteractive when no prompt handler is
specified
Product: Mercurial
Version: default branch
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: hglib
Assignee: bugzilla at mercurial-scm.org
Reporter: gabor.stefanik at nng.com
CC: mercurial-devel at mercurial-scm.org
Extensions, hooks and HTTP authentication can cause prompts to appear in
(almost) any command. Right now, when this happens in python-hglib, it renders
the session unusable in a rather unclean way (see bug 5516).
To make matters worse, hglib doesn't allow passing a prompt handler to most
commands, and doesn't expose the --noninteractive switch.
We should allow a prompt handler to be passed to all commands (especially those
that deal with the network), and if none is passed, set --noninteractive.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list