# HG changeset patch # User mpm@selenic.com # Date 1125209449 25200 # Node ID 63b5f68d816747b43732f17d342d4f63d624ce9b # Parent 30ab5b8ee8ec937bef9d9fc85ffbad0f0ddb4185 patchbomb: eliminate silly complete summary message No longer makes sense without attachments diff --git a/contrib/patchbomb b/contrib/patchbomb --- 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)