[cvsnt] Re: Administrative Files Regex - exclude CVSROOT?

Tony Hoyle tony.hoyle at march-hare.com
Fri Oct 7 16:45:40 BST 2005

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.

Mike Boone wrote:
> Hello all,
> I am experimenting with a script run by verifymsg. I have it working using
> the DEFAULT parameter. However, I've found when I make a mistake to the
> verifymsg, I can't easily recommit an updated verifymsg file.
> So what I want to have happen is for the verifymsg script to run on all
> repositories/folders except the Administrative Files in CVSROOT. How do I do
> this?
> The documentation is pretty vague on valid regular expressions and syntax
> examples. I tried these to no avail:
> ^!CVSROOT C:\myscript.exe
> ^(?!CVSROOT) C:\myscript.exe
> !CVSROOT C:\myscript.exe
> Any ideas?

I'm no regexp expert, but one example is something like


Alternatively just define something for CVSROOT on the first line that 
does nothing (runs 'exit 0' or something similar), so it catches that case.


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