D2720: debugcommands: introduce actions to perform deterministic reads

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Fri Mar 9 15:25:42 EST 2018


indygreg added a comment.


  My only explanation is this is stdout output buffering and things are really hanging on the next read operation.
  
  Maybe try sprinkling some `ui.fout.flush()` and/or `util.stdout.flush()` and/or `sys.stdout.flush()` calls throughout the debug command? Maybe at the first thing in the loop that evaluates commands to execute?

REPOSITORY
  rHG Mercurial

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

To: indygreg, #hg-reviewers
Cc: mharbison72, mercurial-devel


More information about the Mercurial-devel mailing list