Re: need for a hook script
From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-11-22 18:10:56 CET
On Nov 22, 2006, at 05:43, Emil Huseynli wrote:
> I need for a hook script that prevents user to import or commit
I don't know of such a script, but your basic strategy would be:
- use 'svnlook changed -t "$TXN" "$REPO"' to get a list of files in
- for each file, use 'svnlook cat -t "$TXN" "$REPO" "$FILE" | wc -c'
- if this is too large for you, print an error message to stderr and
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.