info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Check out trigger


From: Matthew Berney
Subject: RE: Check out trigger
Date: Wed, 27 Sep 2000 09:08:34 -0700

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: address@hidden [mailto:address@hidden
Sent: Tuesday, September 26, 2000 11:49 AM
To: address@hidden
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
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]