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	Mon May 08 11:16:09 2006 -0700
+++ b/hgext/notify.py	Mon May 08 12:27:30 2006 -0700
@@ -210,6 +210,7 @@
             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):