[cvsnt] Module information

Arthur Barrett arthur.barrett at march-hare.com
Thu Oct 4 07:28:41 BST 2007


Thomas,


> I have also tried called a bat file in precommand in
> the following way:
> 
> /TESTREPO/blabla C:/info.bat $USER %r %c %d
> 

Further to Tony's and Gerhard's comments on this.  It appears that the
documentation is wrong - premodule was never designed to allow a "fail"
to be passed, and from what I've been told from Tony it would be very
difficult (if not impossible) to do.

I think the problem you are trying to solve is an interesting one and
I'll think about what can be done in CVSNT to assist this in future, and
I've already created a bug to update the documentation.  

For the short term I think you can get what you want by relying on the
ACL's to prevent this user from doing anything except "reading" the
specific module, and writing a "precommand" script to look for the case
when they try and "export" (it'll require some parsing of the command
params though).

Regards,


Arthur




More information about the cvsnt mailing list