D6843: ui: option to preserve the progress bar

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sat Oct 5 15:39:27 EDT 2019


This revision now requires changes to proceed.
indygreg added a comment.
indygreg requested changes to this revision.


  I think this is a useful feature. I've wanted this in automated environment so the last state from the progress bar is preserved, for example.
  
  But I agree with Augie that I believe we need to print a newline if we're keeping the progress bar because at the point we print the progress bar, the cursor is at the end of the progress bar.
  
  Also, the printing of the line needs to be abstracted and performed in the progress bar implementation. I would check the config option in `_progclear()` and pass the value to `clear()` and it can determine if it needs to print a `\n` or what.

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, indygreg
Cc: indygreg, durin42, mercurial-devel


More information about the Mercurial-devel mailing list