equal
deleted
inserted
replaced
321 co = fco.changectx() |
321 co = fco.changectx() |
322 |
322 |
323 ui = repo.ui |
323 ui = repo.ui |
324 template = ui.config('ui', 'mergemarkertemplate', _defaultconflictmarker) |
324 template = ui.config('ui', 'mergemarkertemplate', _defaultconflictmarker) |
325 template = templater.parsestring(template, quoted=False) |
325 template = templater.parsestring(template, quoted=False) |
326 tmpl = templater.templater(None, cache={ 'conflictmarker' : template }) |
326 tmpl = templater.templater(None, cache={'conflictmarker': template}) |
327 |
327 |
328 pad = max(len(labels[0]), len(labels[1])) |
328 pad = max(len(labels[0]), len(labels[1])) |
329 |
329 |
330 return [_formatconflictmarker(repo, cd, tmpl, labels[0], pad), |
330 return [_formatconflictmarker(repo, cd, tmpl, labels[0], pad), |
331 _formatconflictmarker(repo, co, tmpl, labels[1], pad)] |
331 _formatconflictmarker(repo, co, tmpl, labels[1], pad)] |