D6168: readline: provide styled prompt to readline (issue6070)

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Mar 22 14:30:27 EDT 2019


martinvonz added a comment.


  In https://phab.mercurial-scm.org/D6168#89874, @martinvonz wrote:
  
  > In https://phab.mercurial-scm.org/D6168#89872, @jeffpc wrote:
  >
  > > FWIW, I tested this on both Unleashed (an illumos fork) and FreeBSD.  It fixes the issue for me on both.
  >
  >
  > Thanks for testing, Jeff. I'll queue based on that.
  
  
  Except that `test-command-server.t` fails like this:
  
    @@ -776,11 +776,9 @@
       message: '\xa3DdataJpassword: Hpassword\xf5DtypeFprompt'
       1234
       *** runcommand debugprompt --config ui.interactive=True
    -  message: '\xa3DdataGprompt:GdefaultAyDtypeFprompt'
    -   5678
    +  prompt: 5678
       *** runcommand debugpromptchoice --config ui.interactive=True
    -  message: '\xa4Gchoices\x82\x82AyCYes\x82AnBNoDdataTpromptchoice (y/n)? GdefaultAyDtypeFprompt'
    -   1
    +  promptchoice (y/n)?  1
    
     bad message encoding:
  
  @spectral, any idea how to fix?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6168

To: durin42, #hg-reviewers, jeffpc
Cc: martinvonz, jeffpc, spectral, mercurial-devel


More information about the Mercurial-devel mailing list