From dddd9bafa868e163bcf08ba9afd6e923475acf9b Mon Sep 17 00:00:00 2001 From: "leaf%mozilla.org" Date: Wed, 29 May 2002 23:41:44 +0000 Subject: [PATCH] hack to do bonsai branchtype=regexp queries if +, *, or ? is in the branch name, first part of bug 147948. --- webtools/tinderbox/showbuilds.cgi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webtools/tinderbox/showbuilds.cgi b/webtools/tinderbox/showbuilds.cgi index 40732f7b3d92..d9558b68dbb1 100755 --- a/webtools/tinderbox/showbuilds.cgi +++ b/webtools/tinderbox/showbuilds.cgi @@ -480,6 +480,8 @@ sub query_ref { $output = "{cvs_branch} ne 'HEAD'; + $output .= "&branchtype=regexp" + if $td->{cvs_branch} =~ /\+|\?|\*/; $output .= "&cvsroot=$td->{cvs_root}" if $td->{cvs_root} ne $default_root; $output .= "&date=explicit&mindate=$mindate"; $output .= "&maxdate=$maxdate" if $maxdate and $maxdate ne '';