From eb735d60a12cc617f7571d961defc2f097366647 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 20 Apr 2012 09:58:35 -0400 Subject: [PATCH] show property update in same color as file update --- jsvn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jsvn b/jsvn index 651351f..ce695cb 100755 --- a/jsvn +++ b/jsvn @@ -277,6 +277,7 @@ def filter_update(pout, out): any_external_printed = True if re.match(r'[ADUCGER ]{2}[B ][C ] ', line): action = line[0] + prop_action = line[1] if action == 'A': ansi_color(out, 'green') elif action == 'D': @@ -287,6 +288,9 @@ def filter_update(pout, out): ansi_color(out, 'yellow') elif action == 'G': ansi_color(out, 'magenta') + elif action == ' ': + if prop_action == 'U': + ansi_color(out, 'cyan') out.write(line.rstrip()) ansi_reset(out) out.write('\n')