patchbomb: mark ancient option deprecated
authorMatt Mackall <mpm@selenic.com>
Thu, 25 Jun 2015 17:38:14 -0500
changeset 25825 577b050caada
parent 25824 8e77e8338cae
child 25826 399c8aafc9f9
patchbomb: mark ancient option deprecated This just exists for backwards compatibility with the earliest versions of patchbomb.
hgext/patchbomb.py
--- 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()))