comparison mercurial/patch.py @ 30790:dbcc10cf7f8d

patch: add label for coloring the index extended header Just like the summary says, this will colorize the: index 3d3ba4b65e11..57274a0f46b2 100644 line in the diff output.
author Sean Farley <sean@farley.io>
date Mon, 09 Jan 2017 10:59:45 -0800
parents b8ad243f5ded
children e2796f193f06
comparison
equal deleted inserted replaced
30789:b8ad243f5ded 30790:dbcc10cf7f8d
2341 ('copy', 'diff.extended'), 2341 ('copy', 'diff.extended'),
2342 ('rename', 'diff.extended'), 2342 ('rename', 'diff.extended'),
2343 ('old', 'diff.extended'), 2343 ('old', 'diff.extended'),
2344 ('new', 'diff.extended'), 2344 ('new', 'diff.extended'),
2345 ('deleted', 'diff.extended'), 2345 ('deleted', 'diff.extended'),
2346 ('index', 'diff.extended'),
2346 ('---', 'diff.file_a'), 2347 ('---', 'diff.file_a'),
2347 ('+++', 'diff.file_b')] 2348 ('+++', 'diff.file_b')]
2348 textprefixes = [('@', 'diff.hunk'), 2349 textprefixes = [('@', 'diff.hunk'),
2349 ('-', 'diff.deleted'), 2350 ('-', 'diff.deleted'),
2350 ('+', 'diff.inserted')] 2351 ('+', 'diff.inserted')]