[cvsnt] Re: shadow not working....

Bo Berglund bo.berglund at telia.com
Wed May 31 19:11:53 BST 2006


On Wed, 31 May 2006 19:38:03 +0200, David Somers <dsomers at omz13.com>
wrote:

>Bo Berglund wrote:
>> Anyone that knows how regexps work?
>
>Its a bit of a black art!
>
>> If the regular expression is 'agiusa' and the module name turns out to
>> be 'agiusa/www' will this be a match or not?
>> I always believed that if the word is *contained* within the test
>> string there is a match.
>
>Yes, it should match anywhere.
>
>BUT, I think the modulename starts with a /, so what you need to match
>against is actually "/agiusa"... or better yet "^/agiusa" to only match if
>it starts with /agiusa.
>
Well,
I have CVSMailer running as well and it logs the data supplied by
CVSNT:
20060531 11:14:36 DEBUG: Parameter 2: Bosse  <= $user
20060531 11:14:36 DEBUG: Parameter 3: /web   <= $cvsroot
20060531 11:14:36 DEBUG: Parameter 4: agiusa/www
contentbar.txt,1.42,1.43 <= module and files

So the module is actually agiusa/www

I guess I have to revert back to my old method of starting a batch
file from postcommand to do the update.
The downside to that is that it is not as complete (and fast) as the
built in shadow handling (when it works)

HTH

/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list