Mercurial > hg > mercurial-crew-with-dirclash
changeset 1136:d451888505d7
Make diffstat optional for patchbomb script.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 28 Aug 2005 18:53:43 +0200 |
parents | e455d91f6259 |
children | c54d03bdf2dc |
files | contrib/patchbomb |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/patchbomb +++ b/contrib/patchbomb @@ -192,8 +192,9 @@ def patchbomb(ui, repo, *revs, **opts): ui.write('\n') - d = cdiffstat('Final summary:\n', jumbo) - if d: msg.attach(MIMEText(d)) + if opts['diffstat']: + d = cdiffstat('Final summary:\n', jumbo) + if d: msg.attach(MIMEText(d)) msgs.insert(0, msg)