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

Re: [CONTRIB] hook script check-needs-lock-on-binaries.pl

From: Bastiaan Veelo <Bastiaan_at_SARC.nl>
Date: Sat, 20 Jul 2013 23:01:45 +0200

Hi again,

Resubmitting my pre-commit hook script to ensure the needs-lock property
on binary commits, with security fixes courtesy Daniel Shahaf. For
context see my original introduction below.

Thanks for an awesome product,
Bastiaan Veelo.

On 4-5-2013 22:58, Bastiaan Veelo wrote:
> Hi there,
>
> Please find attached a pre-commit hook script that can go into the
> contrib directory. It will check that binary files that are listed in
> "svnlook changed" (except deleted files) have the svn:needs-lock
> property set. There are several scripts on the net that serve the
> same purpose, but they only run on Windows. I couldn't find one that
> would run on Linux, so I changed a few lines in svn-keyword-check.pl
> to make it do what I need it to. This is the result.
>
> Best regards,
> Bastiaan Veelo.
>

Received on 2013-07-20 23:02:40 CEST

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.