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

            Bug ID: 6190
           Summary: The choice prompt for `hg next` cannot mangled on
                    macOS
           Product: Mercurial
           Version: stable branch
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: evolution
          Assignee: bugzi...@mercurial-scm.org
          Reporter: matt_harbi...@yahoo.com
                CC: mercurial-devel@mercurial-scm.org,
                    pierre-yves.da...@ens-lyon.org

Presumably all other choice prompts would be affected.  When weird text
mangling happened a few years ago on Windows, it turned out to be either color
or pager, but of which are enabled.  This is hg 5.1+13-302dbc9d52be on 10.14.6.

$ hg next
ambiguous next (unstable) changeset, choose one to evolve and update:
1: [aba7a5bc126b] xxx-shutdown: hacking on shutdown simplification
2: [808fe0d353d9] shutdown: "gracefully" close all connections on shutdown
pt quit the prom 
enter the index of the revision you want to select: 2
move:[415] shutdown: "gracefully" close all connections on shutdown
atop:[425] shutdown: (IR19346) logout of all connections on shutdown
working directory is now at d3fb62eb3f96

$ hg next
ambiguous next (unstable) changeset, choose one to evolve and update:
1: [91b7dbfc5a12] daemon: (IR19794) don't unmount disks that have multiple
connections
callback53e85b89] daemon: refactor the disk arbitration code to log status in
the  
q: quit the prompt
enter the index of the revision you want to select: 2
move:[416] daemon: refactor the disk arbitration code to log status in the
callback
atop:[426] shutdown: "gracefully" close all connections on shutdown
working directory is now at be727e00dcb6

$ hg next
ambiguous next (unstable) changeset, choose one to evolve and update:
1: [c3fd5fa1d41f] admin: drop the "commit type" hashtags from guide.txt
2: [fb500170dada] daemon: guard against spurious wakeups in the mount/unmount
logic
 quit the prompt
enter the index of the revision you want to select: 2

Note that "pt" from "prompt" wrapped in the first example, "callback" from the
commit message wrapped around in the second, and "q:" for the quit line got
skipped in the third.  These were contiguous invocations, and not cherry picked
from a sequence of working ones.  The subsequent uses also failed randomly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to