Mercurial > hg-stable
changeset 3030:5a17423f88d7
Add --git support to hg email
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 30 Aug 2006 10:17:35 -0700 |
parents | d161e6f39557 |
children | eba7c78c80fe |
files | hgext/patchbomb.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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'),