[cvsnt] Module information (disallow export command)

Arthur Barrett arthur.barrett at march-hare.com
Wed Oct 3 06:59:01 BST 2007



> How can I setup CVSNT to disallow all actions but
> export on a certain module in a reposetory?

Write a precommand script and pass %c:

http://www.cvsnt.org/manual/html/commit-files.html

and

http://www.cvsnt.org/manual/html/precommand.html

As Gerhard pointed out the command you call from a script MUST be an executable.  If you want to run a batch file you need to do something like this (example for loginfo):

DEFAULT c:\\windows\\system32\\cmd.exe /c c:\\cvsrepo\\cvsroot\\loginfo.bat %b

Regards,


Arthur Barrett





More information about the cvsnt mailing list