[cvsnt] Re: script filter question

Bo Berglund Bo.Berglund at system3r.se
Wed Jan 22 13:42:37 GMT 2003


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.


It looks like my problems are coming from the case sensitivity of the regular expression
in the script...
How can I set an expression such that it will be case insensitive? I don't want to add a
line for each case permutation possible...

I have now pinpointed the actual problem as coming from the CVS/Repository file in the
client sandbox. If a client checks out a module using the name "webstore" then it will
be entered in the file as "webstore". If another client checks out the same module but
types in the name "WebStore" this is what gets stored locally.
When these clients makes commits then a loginfo setting as below will catch only one
of them because the module name is retrieved from the local CVS/Repository file:

webstore <program to run> <parameters>

I would like to set the loginfo expression such that *all* variations of letter case are
accepted (case insensitive). Can this be done in CVSNT or else how can it be done?

/Bo


-----Original Message-----
From: tmh at nodomain.org [mailto:tmh at nodomain.org]
Sent: den 22 januari 2003 11:25
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] Re: script filter question


On Wed, 22 Jan 2003 08:17:11 +0100, Bo Berglund
<bo.berglund at telia.com> wrote:

>If one stacks a number of filters like below in loginfo, what will
>happen when a module name contains the word WSMDB?
>
>WSMDB <program to run> <parameters>
>MyProg <program to run> <parameters>
>ALL  <program to run> <parameters>
>DEFAULT  <program to run> <parameters>
>
>It looks to me that the ALL line is not reached, even though I had the
>impression that it would always get served.
>Must the ALL and DEFAULT commands be listed first in the filter list
>in order to get attention?
>
I think you'd get the first one plus 'ALL', but w/o looking at the
code I can't be 100% sure of that.

The order doesn't really matter, as the whole file is scanned to the
end before any scripts are executed.

Tony

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



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