[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1784336 - /subversion/trunk/tools/hook-scripts/reject-known-sha1-collisions.sh

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 24 Feb 2017 22:24:28 -0600

On Fri, Feb 24, 2017 at 3:29 PM, <astieger_at_apache.org> wrote:
>...

> +++ subversion/trunk/tools/hook-scripts/reject-known-sha1-collisions.sh
> Fri Feb 24 21:29:04 2017
>
>...

> +$SVNLOOK changed -t "$TXN" "$REPOS"
> +if [ $? -ne 0 ]; then
> + echo $FILES >&2
> + echo "svnlook failed, possible SHA-1 collision" >&2
> + exit 2
> +fi
> +
> +FILES=`$SVNLOOK changed -t "$TXN" "$REPOS" | /usr/bin/grep -Ev '^D ' |
> /usr/bin/awk '{print $2}'`
>

FILES is not defined before the upper block.

>...

Cheers,
-g
Received on 2017-02-25 05:24:40 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.