patchbomb: fix stray backslash in docstring stable
authorMartin Geisler <mg@lazybytes.net>
Sat, 23 Oct 2010 18:33:57 +0200
branchstable
changeset 12839 d85e30889f26
parent 12838 830be2c57626
child 12840 99e8dd56e244
patchbomb: fix stray backslash in docstring While both '\ ' and '\\ ' parse the same in Python, the difference trips up hggettext so that it cannot find the docstring in the source file and thus cannot write the right line number to i18n/hg.pot. While the line number is not essential, it can be used to lookup the original message.
hgext/patchbomb.py
--- a/hgext/patchbomb.py	Mon Oct 25 14:34:49 2010 -0500
+++ b/hgext/patchbomb.py	Sat Oct 23 18:33:57 2010 +0200
@@ -213,7 +213,7 @@
       hg email -o -m mbox &&    # generate an mbox file...
         mutt -R -f mbox         # ... and view it with mutt
       hg email -o -m mbox &&    # generate an mbox file ...
-        formail -s sendmail \   # ... and use formail to send from the mbox
+        formail -s sendmail \\   # ... and use formail to send from the mbox
           -bm -t < mbox         # ... using sendmail
 
     Before using this command, you will need to enable email in your