diff -r 8c034a825cfe -r c52c629ce19e mercurial/posix.py --- a/mercurial/posix.py Thu Oct 07 23:34:21 2010 -0500 +++ b/mercurial/posix.py Sun Oct 10 10:06:36 2010 -0500 @@ -272,7 +272,7 @@ def gethgcmd(): return sys.argv[:1] -def termwidth_(): +def termwidth(): try: import termios, array, fcntl for dev in (sys.stderr, sys.stdout, sys.stdin):