##// END OF EJS Templates
extract: simplify parents assignement...
Pierre-Yves David -
r26548:25a58881 default
parent child Browse files
Show More
@@ -271,15 +271,11 b' def extract(ui, fileobj):'
271 271 data['branch'] = branch
272 272 return data
273 273
274 p1 = p2 = None
274 275 if parents:
275 276 p1 = parents.pop(0)
276 else:
277 p1 = None
278
279 if parents:
280 p2 = parents.pop(0)
281 else:
282 p2 = None
277 if parents:
278 p2 = parents.pop(0)
283 279
284 280 data['filename'] = tmpname
285 281 data['message'] = message
General Comments 0
You need to be logged in to leave comments. Login now