# HG changeset patch # User Martin Geisler # Date 1287851637 -7200 # Node ID d85e30889f262f19ece7e73032992659257149a4 # Parent 830be2c576262c81af39ac3113106d3a120d8cc4 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. diff -r 830be2c57626 -r d85e30889f26 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