##// END OF EJS Templates
patchbomb: allow using HGHOSTNAME to force a hostname...
Augie Fackler -
r39154:1415b788 default
parent child Browse files
Show More
@@ -470,8 +470,9 b' def _getoutgoing(repo, dest, revs):'
470 470 return revs
471 471
472 472 def _msgid(node, timestamp):
473 return '<%s.%d@%s>' % (node, timestamp,
474 encoding.strtolocal(socket.getfqdn()))
473 hostname = encoding.strtolocal(socket.getfqdn())
474 hostname = encoding.environ.get('HGHOSTNAME', hostname)
475 return '<%s.%d@%s>' % (node, timestamp, hostname)
475 476
476 477 emailopts = [
477 478 ('', 'body', None, _('send patches as inline message text (default)')),
General Comments 0
You need to be logged in to leave comments. Login now