[cvsnt] Re: shadow operations bug in builds 2330 and 2344

David Somers dsomers at omz13.com
Wed May 31 20:14:32 BST 2006


Bo Berglund wrote:

> Now I have pinpointed my shadow file problem!
> In build 2260 a shadow file entry like this:
> agiusa HEAD e:/Websites/agiusa
> causes a website rebuild whenever files are committed in agiusa or
> below. This is the intended behaviour and works fine.
> 
> But in build 2330 and 2344 the rebuild happens instead when files are
> committed ELSEWHERE in the repository!!!!
> It looks like the logic has been reversed so that the shadow operation
> is triggered if there is NO MATCH!

triggers/checkout_trigger.cpp, rev 1.1.2.14 (=build 2344)
line 209
if(!mod.matches_regexp(tok[0])) // Wildcard match

That ! is the culprit; it shouldn't be there.

Greetings from (cold and wet) Luxembourg.

-- 
David Somers




More information about the cvsnt mailing list