D6843: ui: option to preserve the progress bar

joerg.sonnenberger (Joerg Sonnenberger) phabricator at mercurial-scm.org
Mon Sep 23 18:22:09 EDT 2019


joerg.sonnenberger added a comment.


  The goal here is to allow something like "hg fast-export | git fast-import" to show a proper progress bar.
  At the moment every write via ui.write and friends will hide the progress bar and re-enable it, even when stdout doesn't affect the terminal state. This would also make sense for operations like "hg diff", e.g. when writing a large/complicated diff to a file.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6843/new/

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

To: joerg.sonnenberger, #hg-reviewers
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list