# HG changeset patch # User Matt Mackall # Date 1373991421 18000 # Node ID b4744c3b991efa6f2b30af5b8807c92cfb0634ce # Parent 9013f2930a4ac5974f1bc1f35b862dc95a9f02b1 progress: respect HGPLAIN diff -r 9013f2930a4a -r b4744c3b991e hgext/progress.py --- a/hgext/progress.py Thu Jul 11 19:29:23 2013 -0500 +++ b/hgext/progress.py Tue Jul 16 11:17:01 2013 -0500 @@ -45,7 +45,8 @@ return ' '.join(s for s in args if s) def shouldprint(ui): - return ui._isatty(sys.stderr) or ui.configbool('progress', 'assume-tty') + return not ui.plain() and (ui._isatty(sys.stderr) or + ui.configbool('progress', 'assume-tty')) def fmtremaining(seconds): if seconds < 60: