patchbomb: eliminate silly complete summary message

No longer makes sense without attachments
This commit is contained in:
mpm@selenic.com 2005-08-27 23:10:49 -07:00
parent 7f0689647a
commit b7bf6330ab

View File

@ -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)