diff mercurial/commands.py @ 12689:c52c629ce19e

termwidth: move to ui.ui from util
author Augie Fackler <durin42@gmail.com>
date Sun, 10 Oct 2010 10:06:36 -0500
parents 8c034a825cfe
children 14853ca7e11b
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Oct 07 23:34:21 2010 -0500
+++ b/mercurial/commands.py	Sun Oct 10 10:06:36 2010 -0500
@@ -1834,7 +1834,7 @@
     Returns 0 if successful.
     """
     option_lists = []
-    textwidth = util.termwidth() - 2
+    textwidth = ui.termwidth() - 2
 
     def addglobalopts(aliases):
         if ui.verbose: