equal
deleted
inserted
replaced
253 + b'\n' |
253 + b'\n' |
254 ) |
254 ) |
255 |
255 |
256 # should try to parse msg['Date'] |
256 # should try to parse msg['Date'] |
257 parents = [] |
257 parents = [] |
|
258 |
|
259 nodeid = msg[r'X-Mercurial-Node'] |
|
260 if nodeid: |
|
261 data[b'nodeid'] = nodeid = mail.headdecode(nodeid) |
|
262 ui.debug(b'Node ID: %s\n' % nodeid) |
258 |
263 |
259 if subject: |
264 if subject: |
260 if subject.startswith(b'[PATCH'): |
265 if subject.startswith(b'[PATCH'): |
261 pend = subject.find(b']') |
266 pend = subject.find(b']') |
262 if pend >= 0: |
267 if pend >= 0: |