Mercurial > public > mercurial-scm > hg-stable
diff hgext/patchbomb.py @ 8160:094e0d982c8a
patchbomb: add user agent header to mails
author | Henrik Stuart <hg@hstuart.dk> |
---|---|
date | Thu, 23 Apr 2009 08:39:27 +0200 |
parents | 5ec526c1a32f |
children | f3abe032fc89 |
line wrap: on
line diff
--- a/hgext/patchbomb.py Fri Apr 24 19:39:27 2009 +0200 +++ b/hgext/patchbomb.py Thu Apr 23 08:39:27 2009 +0200 @@ -399,6 +399,7 @@ m['References'] = parent else: parent = m['Message-Id'] + m['User-Agent'] = 'Mercurial-patchbomb/%s' % util.version() m['Date'] = util.datestr(start_time, "%a, %d %b %Y %H:%M:%S %1%2") start_time = (start_time[0] + 1, start_time[1])