[cvsnt] different directories by different rules when commit runs

kompol at gmail.com kompol at gmail.com
Thu Sep 11 16:39:49 BST 2008

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

How to make, in CVS, that different directories are checked out by 
different rules when commit runs?
That’s my test CVSROOT/commitinfo:
ALL /usr/local/bin/script1.sh %s
^DIR4/TEST /usr/local/bin/record_lastdir.rb %r/%p %s
^DIR4/TEST/INS /usr/local/bin/record_lastdir.rb %r/%p %s
^DIR1 /usr/local/bin/record_lastdir.rb %r/%p %s
^DIR3\(/\|$\) /usr/local/bin/record_lastdir.rb %r/%p %s
^DIR4 /usr/local/bin/newscript2.sh %s
All directories but DIR4 must be checked by script1.sh, DIR4 by 
How to do that? I tried but wasn’t able to do so.
If the line DIR4 /usr/local/bin/newscript2.sh %s at the end of the 
lines, newscript2.sh. doesn’t work.
If  put it immediately following the line beginning with ALL, it works, 
but ruby scripts don’t work.
I would highly appreciate your help.
Thank in advance.

Best regards,

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook