diff hgext/patchbomb.py @ 25825:577b050caada

patchbomb: mark ancient option deprecated This just exists for backwards compatibility with the earliest versions of patchbomb.
author Matt Mackall <mpm@selenic.com>
date Thu, 25 Jun 2015 17:38:14 -0500
parents 328739ea70c3
children 399c8aafc9f9
line wrap: on
line diff
--- a/hgext/patchbomb.py	Thu Jun 25 17:37:35 2015 -0500
+++ b/hgext/patchbomb.py	Thu Jun 25 17:38:14 2015 -0500
@@ -514,6 +514,7 @@
     def genmsgid(id):
         return '<%s.%s@%s>' % (id[:20], int(start_time[0]), socket.getfqdn())
 
+    # deprecated config: patchbomb.from
     sender = (opts.get('from') or ui.config('email', 'from') or
               ui.config('patchbomb', 'from') or
               prompt(ui, 'From', ui.username()))