##// END OF EJS Templates
extract: assign message only once...
Pierre-Yves David -
r26549:1a680ccd default
parent child Browse files
Show More
@@ -262,10 +262,10 b' def extract(ui, fileobj):'
262
262
263 if subject and not message.startswith(subject):
263 if subject and not message.startswith(subject):
264 message = '%s\n%s' % (subject, message)
264 message = '%s\n%s' % (subject, message)
265 data['message'] = message
265 tmpfp.close()
266 tmpfp.close()
266 if not diffs_seen:
267 if not diffs_seen:
267 os.unlink(tmpname)
268 os.unlink(tmpname)
268 data['message'] = message
269 data['user'] = user
269 data['user'] = user
270 data['date'] = date
270 data['date'] = date
271 data['branch'] = branch
271 data['branch'] = branch
@@ -278,7 +278,6 b' def extract(ui, fileobj):'
278 p2 = parents.pop(0)
278 p2 = parents.pop(0)
279
279
280 data['filename'] = tmpname
280 data['filename'] = tmpname
281 data['message'] = message
282 data['user'] = user
281 data['user'] = user
283 data['date'] = date
282 data['date'] = date
284 data['branch'] = branch
283 data['branch'] = branch
General Comments 0
You need to be logged in to leave comments. Login now