svn commit: r538520 - head/Tools/scripts

Matthias Andree mandree at FreeBSD.org
Thu Jun 11 18:12:56 UTC 2020


Author: mandree
Date: Thu Jun 11 18:12:55 2020
New Revision: 538520
URL: https://svnweb.freebsd.org/changeset/ports/538520

Log:
  Tools/scripts/psvn: filter out svn status comments such as moved from/to.
  
  Avoids spurious but harmless warnings.

Modified:
  head/Tools/scripts/psvn

Modified: head/Tools/scripts/psvn
==============================================================================
--- head/Tools/scripts/psvn	Thu Jun 11 17:49:58 2020	(r538519)
+++ head/Tools/scripts/psvn	Thu Jun 11 18:12:55 2020	(r538520)
@@ -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 "\$@")"
 }
 


More information about the svn-ports-all mailing list