From f7ae4e643bfd5002f32256a1eaf6e3feef4ae2f7 Mon Sep 17 00:00:00 2001 From: "kestes%walrus.com" Date: Mon, 13 Aug 2001 20:03:10 +0000 Subject: [PATCH] reject bug tickets for trees we do not know about. This allows BTData to not depend on TreeData git-svn-id: svn://10.0.0.236/trunk@100938 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/tinderbox2/src/bin/processmail_bugs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/tinderbox2/src/bin/processmail_bugs b/mozilla/webtools/tinderbox2/src/bin/processmail_bugs index 4f9c4dd38e7..ff062f82253 100644 --- a/mozilla/webtools/tinderbox2/src/bin/processmail_bugs +++ b/mozilla/webtools/tinderbox2/src/bin/processmail_bugs @@ -23,8 +23,8 @@ -# $Revision: 1.9 $ -# $Date: 2001-07-20 19:04:48 $ +# $Revision: 1.10 $ +# $Date: 2001-08-13 20:03:10 $ # $Author: kestes%walrus.com $ # $Source: /home/befator/cvs/jail/cvsroot/mozilla/webtools/tinderbox2/src/bin/processmail_bugs,v $ # $Name: not supported by cvs2svn $ @@ -374,6 +374,12 @@ sub set_tinderbox_variables { foreach $tree (@trees) { + # It is easier to ignore trees we do not know about here rather + # then to make the BTData module depend on the TreeData module. + + ($tree) || next; + $TreeData::VC_TREE {$tree} || next; + set_tinderbox_variables(); $TINDERBOX{'tinderbox_tree'} = $tree;