comparison hgext/color.py @ 7539:92c373f8135f

color: fix colorization of the 'old mode' git diff metadata
author Gilles Moris <gilles.moris@free.fr>
date Fri, 19 Dec 2008 22:32:08 +0100
parents 3fb5c142a9f0
children 7b813bdbd5d0
comparison
equal deleted inserted replaced
7538:8440baba78f0 7539:92c373f8135f
202 ui.write = oldwrite 202 ui.write = oldwrite
203 203
204 _diff_prefixes = [('diff', 'diffline'), 204 _diff_prefixes = [('diff', 'diffline'),
205 ('copy', 'extended'), 205 ('copy', 'extended'),
206 ('rename', 'extended'), 206 ('rename', 'extended'),
207 ('old', 'extended'),
207 ('new', 'extended'), 208 ('new', 'extended'),
208 ('deleted', 'extended'), 209 ('deleted', 'extended'),
209 ('---', 'file_a'), 210 ('---', 'file_a'),
210 ('+++', 'file_b'), 211 ('+++', 'file_b'),
211 ('@', 'hunk'), 212 ('@', 'hunk'),