CVS Tricks

I put everything the full site in cvs. I found something I’ve been looking for for ages. I way to update your site when you do a cvs commit

cvs co CVSROOT
$EDITOR loginfo

Add something like:

^ (date; cat; (sleep 2; cd /home/ay/;cvs -q update -d) &) >> $CVSROOT/CVSROOT/updatelog 2>&1

Where ^ is a regexp of the module in question and the rest is just a small shellscript to run update

cvs commit

Now do a fresh checkout of the webmodule and your site will be updated when you do a commit.