From 7bbf0ef4e28fdbf9436cdffc19b0de662dad97c3 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 18 Apr 2012 11:25:22 -0400 Subject: [PATCH] change status colors to match update: modified items in cyan --- jsvn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/jsvn b/jsvn index 1c891fe..651351f 100755 --- a/jsvn +++ b/jsvn @@ -786,14 +786,19 @@ def status(argv, svn, out): external_printed = True if re.match(STATUS_LINE_REGEX, line): action = line[0] - if action == 'A' or action == 'M': + prop_action = line[1] + if action == 'A': ansi_color(out, 'green') + elif action == 'M': + ansi_color(out, 'cyan') elif action == 'C': ansi_color(out, 'yellow') elif action == 'D': ansi_color(out, 'red') elif action == 'R': ansi_color(out, 'magenta') + elif action == ' ' and prop_action == 'M': + ansi_color(out, 'cyan') elif action == 'X': continue # don't print externals out.write(line)