Minor tweak of output

- Legacy-Id: 17214
This commit is contained in:
Henrik Levkowetz 2020-01-10 12:32:47 +00:00
parent 82e270fc82
commit e80daea644

View file

@ -153,7 +153,7 @@ $do svn st | grep "^[AMGRD] " && {
note "Extract who and what:"
info=$(svn log ${repo}/ -r $rev --incremental)
set $(echo "$info" | tail -n +2 | head -n 1 | tr "|" "\t")
who=$2; echo -e "\n$who"
who=$2; echo -e "$who"
comment=$(echo "$info" | tail -n +3); echo -e "$comment\n"
comment=$(echo "$comment" | sed -r -e 's/(commit )?ready (for|to) merge\.?//i' -e '/^$/d')
files=$(svn diff ${repo}/ -c $rev --summarize | awk '{$1=""; print;}' | while read file; do echo "${file/$repo\/$branch\//}"; done)