##// END OF EJS Templates
Add --git support to hg email
Brendan Cully -
r3030:5a17423f default
parent child Browse files
Show More
@@ -205,7 +205,8 b' def patchbomb(ui, repo, *revs, **opts):'
205
205
206 commands.export(ui, repo, *revs, **{'output': exportee(patches),
206 commands.export(ui, repo, *revs, **{'output': exportee(patches),
207 'switch_parent': False,
207 'switch_parent': False,
208 'text': None})
208 'text': None,
209 'git': opts.get('git')})
209
210
210 jumbo = []
211 jumbo = []
211 msgs = []
212 msgs = []
@@ -322,6 +323,7 b' cmdtable = {'
322 ('', 'bcc', [], 'email addresses of blind copy recipients'),
323 ('', 'bcc', [], 'email addresses of blind copy recipients'),
323 ('c', 'cc', [], 'email addresses of copy recipients'),
324 ('c', 'cc', [], 'email addresses of copy recipients'),
324 ('d', 'diffstat', None, 'add diffstat output to messages'),
325 ('d', 'diffstat', None, 'add diffstat output to messages'),
326 ('g', 'git', None, _('use git extended diff format')),
325 ('f', 'from', '', 'email address of sender'),
327 ('f', 'from', '', 'email address of sender'),
326 ('', 'plain', None, 'omit hg patch header'),
328 ('', 'plain', None, 'omit hg patch header'),
327 ('n', 'test', None, 'print messages that would be sent'),
329 ('n', 'test', None, 'print messages that would be sent'),
General Comments 0
You need to be logged in to leave comments. Login now