Add --git support to hg email

This commit is contained in:
Brendan Cully 2006-08-30 10:17:35 -07:00
parent 4faa554229
commit af80a5f6e8

View File

@ -205,7 +205,8 @@ def patchbomb(ui, repo, *revs, **opts):
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 @@ cmdtable = {
('', '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'),