Mercurial > hg > mercurial-crew-with-dirclash
changeset 1118:63b5f68d8167
patchbomb: eliminate silly complete summary message
No longer makes sense without attachments
author | mpm@selenic.com |
---|---|
date | Sat, 27 Aug 2005 23:10:49 -0700 |
parents | 30ab5b8ee8ec |
children | 7fca9752d945 |
files | contrib/patchbomb |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/patchbomb +++ b/contrib/patchbomb @@ -114,9 +114,11 @@ def patchbomb(ui, repo, *revs, **opts): if line.startswith('diff -r'): break desc.append(line) if not node: raise ValueError - body = ('\n'.join(desc[1:]).strip() or - 'Patch subject is complete summary.') - body += '\n\n\n' + + #body = ('\n'.join(desc[1:]).strip() or + # 'Patch subject is complete summary.') + #body += '\n\n\n' + if opts['diffstat']: body += cdiffstat('\n'.join(desc), patch) + '\n\n' body += '\n'.join(patch)