[Bug 5587] New: hg commit --interactive (and hg record) both stopped showing prompts

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sun Jun 4 13:15:41 UTC 2017


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

            Bug ID: 5587
           Summary: hg commit --interactive (and hg record) both stopped
                    showing prompts
           Product: Mercurial
           Version: 4.2.1
          Hardware: Macintosh
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: chdiza at gmail.com
                CC: mercurial-devel at mercurial-scm.org

`hg commit --interactive`, and also `hg record` (with the "record" extension
enabled) are both suddenly unusable on macOS 10.12  I think, but am not sure,
that this was introduced with mercurial 4.2.  I see it in both 4.2 and 4.2.1.

It's unusable because the prompt message for each chunk doesn't get displayed
until *after* the user makes a selection.

To reproduce:

1. mkdir foo
2. cd foo
3. hg init
4. touch dummy
5. hg add dummy
6. hg commit dummy -m "initial commit"
7. [edit dummy and make a change]
8. hg commit --interactive

What I expected: to see a diff and a prompt that says: "examine changes to
'dummy'? [Ynesfdaq?]"

What I see: (a) no diff, but more importantly, (b) no prompt!!

If I hit Ctrl-C to try to exit, *then* I finally see the prompt.

This happens in both Terminal.app and iTerm2.app.  It also happens even with an
.hgrc that only contains user and email info.  It also happens if I move my
bash .profile and .bashrc out of the way.  It also happens whether or not I use
the `hg record` extension.

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


More information about the Mercurial-devel mailing list