Show More
@@ -470,8 +470,9 def _getoutgoing(repo, dest, revs): | |||||
470 | return revs |
|
470 | return revs | |
471 |
|
471 | |||
472 | def _msgid(node, timestamp): |
|
472 | def _msgid(node, timestamp): | |
473 | return '<%s.%d@%s>' % (node, timestamp, |
|
473 | hostname = encoding.strtolocal(socket.getfqdn()) | |
474 | encoding.strtolocal(socket.getfqdn())) |
|
474 | hostname = encoding.environ.get('HGHOSTNAME', hostname) | |
|
475 | return '<%s.%d@%s>' % (node, timestamp, hostname) | |||
475 |
|
476 | |||
476 | emailopts = [ |
|
477 | emailopts = [ | |
477 | ('', 'body', None, _('send patches as inline message text (default)')), |
|
478 | ('', 'body', None, _('send patches as inline message text (default)')), |
General Comments 0
You need to be logged in to leave comments.
Login now