1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

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
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538520

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 "\$@")"
}