Mercurial > hg
comparison mercurial/urllibcompat.py @ 41739:8ab42ccb68fe
grep: give different labels to + and - symbols
I find it more useful to give different colours to plus and minus, but
it's difficult to do so if the default output uses the same label for
both. The following augments the names of columns with some extra
labels, akin to the diff.inserted and diff.deleted labels for the diff
command.
This is done by adding an extra label field to the columns tuples.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Fri, 15 Feb 2019 15:24:04 -0500 |
parents | 5774fc623a18 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
41738:c70bdd222dcd | 41739:8ab42ccb68fe |
---|