##// END OF EJS Templates
mq: toggle truncating using ui.plain() rather than ui.interactive()...
Dan Villiom Podlaski Christiansen -
r10946:214a518a stable
parent child Browse files
Show More
@@ -1430,7 +1430,7 b' class queue(object):'
1430 if summary:
1430 if summary:
1431 ph = patchheader(self.join(patchname), self.plainmode)
1431 ph = patchheader(self.join(patchname), self.plainmode)
1432 msg = ph.message and ph.message[0] or ''
1432 msg = ph.message and ph.message[0] or ''
1433 if self.ui.interactive():
1433 if not self.ui.plain():
1434 width = util.termwidth() - len(pfx) - len(patchname) - 2
1434 width = util.termwidth() - len(pfx) - len(patchname) - 2
1435 if width > 0:
1435 if width > 0:
1436 msg = util.ellipsis(msg, width)
1436 msg = util.ellipsis(msg, width)
General Comments 0
You need to be logged in to leave comments. Login now