Show More
@@ -155,6 +155,7 b' def split(stream):' | |||||
155 | # list of pairs ("header to match", "data key") |
|
155 | # list of pairs ("header to match", "data key") | |
156 | patchheadermap = [('Date', 'date'), |
|
156 | patchheadermap = [('Date', 'date'), | |
157 | ('Branch', 'branch'), |
|
157 | ('Branch', 'branch'), | |
|
158 | ('Node ID', 'nodeid'), | |||
158 | ] |
|
159 | ] | |
159 |
|
160 | |||
160 | def extract(ui, fileobj): |
|
161 | def extract(ui, fileobj): | |
@@ -236,8 +237,6 b' def extract(ui, fileobj):' | |||||
236 | if line.startswith('# User '): |
|
237 | if line.startswith('# User '): | |
237 | data['user'] = line[7:] |
|
238 | data['user'] = line[7:] | |
238 | ui.debug('From: %s\n' % data['user']) |
|
239 | ui.debug('From: %s\n' % data['user']) | |
239 | elif line.startswith("# Node ID "): |
|
|||
240 | data['nodeid'] = line[10:] |
|
|||
241 | elif line.startswith("# Parent "): |
|
240 | elif line.startswith("# Parent "): | |
242 | parents.append(line[9:].lstrip()) |
|
241 | parents.append(line[9:].lstrip()) | |
243 | elif line.startswith("# "): |
|
242 | elif line.startswith("# "): |
General Comments 0
You need to be logged in to leave comments.
Login now