hgext/patchbomb.py
changeset 4730 eadfaa9ec487
parent 4633 ff7253a0d1da
child 4887 2f09df302f30
--- a/hgext/patchbomb.py	Tue Jun 26 20:37:15 2007 +0200
+++ b/hgext/patchbomb.py	Tue Jun 26 22:38:57 2007 +0200
@@ -410,26 +410,31 @@
             mailer.sendmail(sender, to + bcc + cc, m.as_string(0))
 
 cmdtable = {
-    'email':
-    (patchbomb,
-     [('a', 'attach', None, 'send patches as inline attachments'),
-      ('', 'bcc', [], 'email addresses of blind copy recipients'),
-      ('c', 'cc', [], 'email addresses of copy recipients'),
-      ('d', 'diffstat', None, 'add diffstat output to messages'),
-      ('', 'date', '', _('use the given date as the sending date')),
-      ('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'),
-      ('m', 'mbox', '', 'write messages to mbox file instead of sending them'),
-      ('o', 'outgoing', None, _('send changes not found in the target repository')),
-      ('b', 'bundle', None, _('send changes not in target as a binary bundle')),
-      ('r', 'rev', [], _('a revision to send')),
-      ('s', 'subject', '', 'subject of first message (intro or single patch)'),
-      ('t', 'to', [], 'email addresses of recipients'),
-      ('', 'force', None, _('run even when remote repository is unrelated (with -b)')),
-      ('', 'base', [],
-          _('a base changeset to specify instead of a destination (with -b)'))]
-      + commands.remoteopts,
-     "hg email [OPTION]... [DEST]...")
-    }
+    "email":
+        (patchbomb,
+         [('a', 'attach', None, _('send patches as inline attachments')),
+          ('', 'bcc', [], _('email addresses of blind copy recipients')),
+          ('c', 'cc', [], _('email addresses of copy recipients')),
+          ('d', 'diffstat', None, _('add diffstat output to messages')),
+          ('', 'date', '', _('use the given date as the sending date')),
+          ('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')),
+          ('m', 'mbox', '',
+           _('write messages to mbox file instead of sending them')),
+          ('o', 'outgoing', None,
+           _('send changes not found in the target repository')),
+          ('b', 'bundle', None,
+           _('send changes not in target as a binary bundle')),
+          ('r', 'rev', [], _('a revision to send')),
+          ('s', 'subject', '',
+           _('subject of first message (intro or single patch)')),
+          ('t', 'to', [], _('email addresses of recipients')),
+          ('', 'force', None,
+           _('run even when remote repository is unrelated (with -b)')),
+          ('', 'base', [],
+           _('a base changeset to specify instead of a destination (with -b)')),
+         ] + commands.remoteopts,
+         _('hg email [OPTION]... [DEST]...'))
+}