log -v: only colorized changed path if path starts with "/"

This commit is contained in:
Josh Holtrop 2012-06-27 13:28:02 -04:00
parent 4755cbfd50
commit 34ed003e51

2
jsvn
View File

@ -836,7 +836,7 @@ def log(argv, svn, out):
out.write(line) out.write(line)
out.write('\n') out.write('\n')
mode = 'cp' mode = 'cp'
elif mode == 'cp' and re.match(r' [ADM] ', line): elif mode == 'cp' and re.match(r' [ADM] /', line):
action = line[3] action = line[3]
if action == 'A': if action == 'A':
ansi_color(out, 'green') ansi_color(out, 'green')