diff -r 4b1af1c867fa -r 5c379b1f56c7 mercurial/scmwindows.py --- a/mercurial/scmwindows.py Thu Oct 20 21:38:44 2016 +0900 +++ b/mercurial/scmwindows.py Thu Oct 20 21:42:11 2016 +0900 @@ -53,5 +53,5 @@ path.append(os.path.join(userprofile, '.hgrc')) return path -def termwidth(): +def termwidth(ui): return win32.termwidth()