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

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

From: Bastiaan Veelo <Bastiaan_at_SARC.nl>
Date: Sat, 04 May 2013 22:58:52 +0200

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-05-05 00:35:23 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.