diff hgext/mq.py @ 11327:6c469f2f9f12

mq: use ui.formatted() instead of ui.plain().
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Mon, 07 Jun 2010 15:33:03 +0200
parents 40c06bbf58be
children c3d7daa0928e
line wrap: on
line diff
--- a/hgext/mq.py	Mon Jun 07 15:28:54 2010 +0200
+++ b/hgext/mq.py	Mon Jun 07 15:33:03 2010 +0200
@@ -1422,7 +1422,7 @@
             if summary:
                 ph = patchheader(self.join(patchname), self.plainmode)
                 msg = ph.message and ph.message[0] or ''
-                if not self.ui.plain():
+                if self.ui.formatted():
                     width = util.termwidth() - len(pfx) - len(patchname) - 2
                     if width > 0:
                         msg = util.ellipsis(msg, width)