##// END OF EJS Templates
progress: respect HGPLAIN
Matt Mackall -
r19404:b4744c3b default
parent child Browse files
Show More
@@ -45,7 +45,8 b' def spacejoin(*args):'
45 return ' '.join(s for s in args if s)
45 return ' '.join(s for s in args if s)
46
46
47 def shouldprint(ui):
47 def shouldprint(ui):
48 return ui._isatty(sys.stderr) or ui.configbool('progress', 'assume-tty')
48 return not ui.plain() and (ui._isatty(sys.stderr) or
49 ui.configbool('progress', 'assume-tty'))
49
50
50 def fmtremaining(seconds):
51 def fmtremaining(seconds):
51 if seconds < 60:
52 if seconds < 60:
General Comments 0
You need to be logged in to leave comments. Login now