# HG changeset patch # User Brendan Cully # Date 1156958255 25200 # Node ID 5a17423f88d792c62ee476b9d64f34495c67069e # Parent d161e6f395574c7c6b63a30388305cf48fad829a Add --git support to hg email diff -r d161e6f39557 -r 5a17423f88d7 hgext/patchbomb.py --- a/hgext/patchbomb.py Wed Aug 30 10:08:56 2006 -0700 +++ b/hgext/patchbomb.py Wed Aug 30 10:17:35 2006 -0700 @@ -205,7 +205,8 @@ commands.export(ui, repo, *revs, **{'output': exportee(patches), 'switch_parent': False, - 'text': None}) + 'text': None, + 'git': opts.get('git')}) jumbo = [] msgs = [] @@ -322,6 +323,7 @@ ('', 'bcc', [], 'email addresses of blind copy recipients'), ('c', 'cc', [], 'email addresses of copy recipients'), ('d', 'diffstat', None, 'add diffstat output to messages'), + ('g', 'git', None, _('use git extended diff format')), ('f', 'from', '', 'email address of sender'), ('', 'plain', None, 'omit hg patch header'), ('n', 'test', None, 'print messages that would be sent'),