Mercurial > hg-stable
changeset 9520:bcc27ee3a37b
color: allow multiple args to ui.write()
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 29 Sep 2009 23:49:42 -0500 |
parents | 0d3c1aa9d5de |
children | e3ce0c30798b |
files | hgext/color.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/color.py Thu Oct 01 08:50:10 2009 +0200 +++ b/hgext/color.py Tue Sep 29 23:49:42 2009 -0500 @@ -162,9 +162,8 @@ return retval _patch_effects = { 'applied': ['blue', 'bold', 'underline'], - 'missing': ['red', 'bold'], - 'unapplied': ['black', 'bold'], } - + 'missing': ['red', 'bold'], + 'unapplied': ['black', 'bold'], } def colorwrap(orig, s): '''wrap ui.write for colored diff output''' lines = s.split('\n')