Show More
@@ -38,7 +38,6 b' characters.' | |||||
38 | import sys |
|
38 | import sys | |
39 | import time |
|
39 | import time | |
40 |
|
40 | |||
41 | from mercurial import util |
|
|||
42 | from mercurial.i18n import _ |
|
41 | from mercurial.i18n import _ | |
43 | testedwith = 'internal' |
|
42 | testedwith = 'internal' | |
44 |
|
43 | |||
@@ -46,7 +45,7 b' def spacejoin(*args):' | |||||
46 | return ' '.join(s for s in args if s) |
|
45 | return ' '.join(s for s in args if s) | |
47 |
|
46 | |||
48 | def shouldprint(ui): |
|
47 | def shouldprint(ui): | |
49 |
return u |
|
48 | return ui._isatty(sys.stderr) or ui.configbool('progress', 'assume-tty') | |
50 |
|
49 | |||
51 | def fmtremaining(seconds): |
|
50 | def fmtremaining(seconds): | |
52 | if seconds < 60: |
|
51 | if seconds < 60: |
General Comments 0
You need to be logged in to leave comments.
Login now