# HG changeset patch # User Sean Farley # Date 1483988385 28800 # Node ID dbcc10cf7f8d9318688d5d9771cdc92d67793748 # Parent b8ad243f5ded9ba56d3f1a64d4d1008dbdb6701a 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. diff -r b8ad243f5ded -r dbcc10cf7f8d mercurial/patch.py --- a/mercurial/patch.py Sat Dec 31 15:41:57 2016 -0600 +++ b/mercurial/patch.py Mon Jan 09 10:59:45 2017 -0800 @@ -2343,6 +2343,7 @@ ('old', 'diff.extended'), ('new', 'diff.extended'), ('deleted', 'diff.extended'), + ('index', 'diff.extended'), ('---', 'diff.file_a'), ('+++', 'diff.file_b')] textprefixes = [('@', 'diff.hunk'),