Mercurial > hg-stable
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 Sat Aug 27 22:04:17 2005 -0700 +++ b/contrib/patchbomb Sat Aug 27 23:10:49 2005 -0700 @@ -114,9 +114,11 @@ 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)