4886
4886
help='Write merge directive to this file; '
4887
4887
'use - for stdout.',
4890
help='Refuse to send if there are uncommitted changes in'
4891
' the working tree.'),
4889
4892
Option('mail-to', help='Mail the request to this address.',
4893
4896
Option('body', help='Body for the email.', type=unicode),
4894
4897
RegistryOption('format',
4895
help='Use the specified output format.',
4896
lazy_registry=('bzrlib.send', 'format_registry'))
4898
help='Use the specified output format.',
4899
lazy_registry=('bzrlib.send', 'format_registry')),
4899
4902
def run(self, submit_branch=None, public_branch=None, no_bundle=False,
4900
4903
no_patch=False, revision=None, remember=False, output=None,
4901
format=None, mail_to=None, message=None, body=None, **kwargs):
4904
format=None, mail_to=None, message=None, body=None,
4905
strict=None, **kwargs):
4902
4906
from bzrlib.send import send
4903
4907
return send(submit_branch, revision, public_branch, remember,
4904
format, no_bundle, no_patch, output,
4905
kwargs.get('from', '.'), mail_to, message, body,
4908
format, no_bundle, no_patch, output,
4909
kwargs.get('from', '.'), mail_to, message, body,
4909
4914
class cmd_bundle_revisions(cmd_send):