There is really no notion of checkout in CVS.  Rather, you edit the file and
then commit the changes to the repository.  You don't *have* to check the
file out.  You can simply make the file writable, modify the file, and
commit the changes.  

The cvs edit command may be what you want.  You can set "edit watches" in
your repository to activate a script (i.e. trigger) when someone marks a
file for edit.  Realize, however, that someone editing a file can "unedit"
the file rather than committing the changes.

Look into "watches".  This might do the trick.

Matt


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2000 11:49 AM
To: [EMAIL PROTECTED]
Subject: Check out trigger


Hello All,
          I am desperately trying to have a trigger set up for check 
out. What I have been able to do is to add the following line in the 
module file
mod2 -o d:\myprog mod2

And what this does is it will fire the 'd:\myprog' script whenever 
any file from module 'mod2' is checked out. 

But what I am looking for is to have a trigger which will be called 
whenever any file is checked out from any module in the repository.

All thoughts regarding this will be sincerely appreciated. 

I am running CVS 1.10.5 on NT 

Waiting for some ideas,
Anand


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to