[PATCH 0 of 2] Let progress act as a silencer

Martin Geisler mg at aragost.com
Wed Oct 20 12:04:46 UTC 2010


timeless <timeless at gmail.com> writes:

> mpm didn't like the hackery I was using for convert.
>
> It turns out that what we really want is just to treat the progress
> extension as a request for "quiet". If the user actually wants noisy,
> then this doesn't apply.

I don't understand why you want to silence the output? I thought the
progess extension and the API was designed to handle output interleaved
with the progress bar. So when starting the terminal looks like:

  loop [                                                            ] 0/3

then some output is made and it looks like

  first line of output
  loop [=================>                                          ] 1/3

more output is made:

  first line of output
  second line of output
  loop [========================================>                   ] 2/3

and so on.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/



More information about the Mercurial-devel mailing list