Tools/scripts/psvn: filter out svn status comments such as moved from/to.

Avoids spurious but harmless warnings.
This commit is contained in:
Matthias Andree
2020-06-11 18:12:55 +00:00
parent e04fbcb48e
commit e3be41ec11

View File

@@ -141,7 +141,7 @@ getfilequotedarray() {
varname="$1"
shift
IFS="$LF"
set -- $("${SVN}" status -- "$@" | sed 's/^....... //')
set -- $("${SVN}" status -- "$@" | grep -v '^ ' | sed 's/^....... //')
eval "$varname=\$(savearray "\$@")"
}