--- a/hgext/progress.py Sun May 20 14:33:49 2012 -0500
+++ b/hgext/progress.py Sun May 20 14:37:20 2012 -0500
@@ -38,7 +38,6 @@
import sys
import time
-from mercurial import util
from mercurial.i18n import _
testedwith = 'internal'
@@ -46,7 +45,7 @@
return ' '.join(s for s in args if s)
def shouldprint(ui):
- return util.isatty(sys.stderr) or ui.configbool('progress', 'assume-tty')
+ return ui._isatty(sys.stderr) or ui.configbool('progress', 'assume-tty')
def fmtremaining(seconds):
if seconds < 60: