changeset 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 8e77e8338cae
children 399c8aafc9f9
files hgext/patchbomb.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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()))