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,
Daniel Shahaf wrote on Sun, May 05, 2013 at 03:10:13 +0300:
> Bastiaan Veelo wrote on Sat, May 04, 2013 at 22:58:52 +0200:
> > # Heruistics to determine if file is binary.
> > #
> > # Take the paranoid approch, everything is binary, unless otherwise
> > # stated If svn:eol-style is set, it is text
Bastiaan Veelo wrote on Sat, May 04, 2013 at 22:58:52 +0200:
> # Heruistics to determine if file is binary.
> #
> # Take the paranoid approch, everything is binary, unless otherwise
> # stated If svn:eol-style is set, it is text If svn:mime-type is
> # text/*, it is text a configurable file glob li
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,
4 matches
Mail list logo