Hi everyone,
I'm trying to write a pre-commit hook that prevents the user from
committing if the files in the transaction if they are not locked (this
is to force the users to lock the files before editing and to make sure
no one else is editing the file because most of our files are binaries).
So far I've been able to run the "svnlook lock [repository] [file path
in the repository]" command only in the command line, the problem is
that the pre-commit hook has only two parameters Repository and
Transaction. Is there a way to get a list of all the files included in a
transaction? (I am running svn on Windows)
Thanks in advance,
Ignacio
Received on 2008-01-30 18:03:12 CET