changeset 2225:ff43ea94eff4

notify: add 'to' header to message.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Mon, 08 May 2006 12:27:30 -0700
parents e8f47dfb70f4
children abfed2a82b07
files hgext/notify.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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):