equal
deleted
inserted
replaced
1420 if pfx: |
1420 if pfx: |
1421 self.ui.write(pfx) |
1421 self.ui.write(pfx) |
1422 if summary: |
1422 if summary: |
1423 ph = patchheader(self.join(patchname), self.plainmode) |
1423 ph = patchheader(self.join(patchname), self.plainmode) |
1424 msg = ph.message and ph.message[0] or '' |
1424 msg = ph.message and ph.message[0] or '' |
1425 if not self.ui.plain(): |
1425 if self.ui.formatted(): |
1426 width = util.termwidth() - len(pfx) - len(patchname) - 2 |
1426 width = util.termwidth() - len(pfx) - len(patchname) - 2 |
1427 if width > 0: |
1427 if width > 0: |
1428 msg = util.ellipsis(msg, width) |
1428 msg = util.ellipsis(msg, width) |
1429 else: |
1429 else: |
1430 msg = '' |
1430 msg = '' |