# HG changeset patch # User Sean Farley # Date 1483988505 28800 # Node ID 8540967cd9e0909a9a73dbff458c4cedd4db26aa # Parent 6381a6dbc325f9b9e22d627ce2d6bba9c1649164 patch: add label for coloring the similarity extended header Just like the summary says, this will colorize the: similarity index 88% line in the diff output. diff -r 6381a6dbc325 -r 8540967cd9e0 mercurial/patch.py --- a/mercurial/patch.py Mon Jan 09 11:24:18 2017 -0800 +++ b/mercurial/patch.py Mon Jan 09 11:01:45 2017 -0800 @@ -2350,6 +2350,7 @@ ('new', 'diff.extended'), ('deleted', 'diff.extended'), ('index', 'diff.extended'), + ('similarity', 'diff.extended'), ('---', 'diff.file_a'), ('+++', 'diff.file_b')] textprefixes = [('@', 'diff.hunk'),