Show More
@@ -153,7 +153,7 b' def split(stream):' | |||
|
153 | 153 | |
|
154 | 154 | ## Some facility for extensible patch parsing: |
|
155 | 155 | # list of pairs ("header to match", "data key") |
|
156 | patchheadermap = [] | |
|
156 | patchheadermap = [('Date', 'date')] | |
|
157 | 157 | |
|
158 | 158 | def extract(ui, fileobj): |
|
159 | 159 | '''extract patch from data read from fileobj. |
@@ -234,8 +234,6 b' def extract(ui, fileobj):' | |||
|
234 | 234 | if line.startswith('# User '): |
|
235 | 235 | data['user'] = line[7:] |
|
236 | 236 | ui.debug('From: %s\n' % data['user']) |
|
237 | elif line.startswith("# Date "): | |
|
238 | data['date'] = line[7:] | |
|
239 | 237 | elif line.startswith("# Branch "): |
|
240 | 238 | data['branch'] = line[9:] |
|
241 | 239 | elif line.startswith("# Node ID "): |
General Comments 0
You need to be logged in to leave comments.
Login now