hgext/churn.py
changeset 12689 c52c629ce19e
parent 12070 fddacca3202e
child 13123 2506658c3927
--- a/hgext/churn.py	Thu Oct 07 23:34:21 2010 -0500
+++ b/hgext/churn.py	Sun Oct 10 10:06:36 2010 -0500
@@ -149,7 +149,7 @@
     maxcount = float(max(sum(v) for k, v in rate)) or 1.0
     maxname = max(len(k) for k, v in rate)
 
-    ttywidth = util.termwidth()
+    ttywidth = ui.termwidth()
     ui.debug("assuming %i character terminal\n" % ttywidth)
     width = ttywidth - maxname - 2 - 2 - 2