[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
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
newscript2.sh.
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,
Oleg
More information about the cvsnt
mailing list