notify: add 'to' header to message.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Mon, 08 May 2006 12:27:30 -0700
changeset 2225 ff43ea94eff4
parent 2224 e8f47dfb70f4
child 2226 abfed2a82b07
notify: add 'to' header to message.
hgext/notify.py
--- a/hgext/notify.py
+++ b/hgext/notify.py
@@ -210,6 +210,7 @@ class notifier(object):
             msg['Message-Id'] = ('<hg.%s.%s.%s@%s>' %
                                  (short(node), int(time.time()),
                                   hash(self.repo.root), socket.getfqdn()))
+        msg['To'] = self.subs
 
         msgtext = msg.as_string(0)
         if self.ui.configbool('notify', 'test', True):