##// END OF EJS Templates
patchbomb: do not assume the presence of angle brackets around msg-id...
Cédric Duval -
r8826:2aff285b default
parent child Browse files
Show More
@@ -397,6 +397,13 b' def patchbomb(ui, repo, *revs, **opts):'
397 ui.write('\n')
397 ui.write('\n')
398
398
399 parent = opts.get('in_reply_to') or None
399 parent = opts.get('in_reply_to') or None
400 # angle brackets may be omitted, they're not semantically part of the msg-id
401 if parent is not None:
402 if not parent.startswith('<'):
403 parent = '<' + parent
404 if not parent.endswith('>'):
405 parent += '>'
406
400 first = True
407 first = True
401
408
402 sender_addr = email.Utils.parseaddr(sender)[1]
409 sender_addr = email.Utils.parseaddr(sender)[1]
General Comments 0
You need to be logged in to leave comments. Login now