hack to do bonsai branchtype=regexp queries if +, *, or ? is in the branch name, first part of bug 147948.

git-svn-id: svn://10.0.0.236/trunk@122297 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
leaf%mozilla.org
2002-05-29 23:41:44 +00:00
parent 5fcde94961
commit bfdfa6ecf5

View File

@@ -480,6 +480,8 @@ sub query_ref {
$output = "<a href=${rel_path}../bonsai/cvsquery.cgi";
$output .= "?module=$td->{cvs_module}";
$output .= "&branch=$td->{cvs_branch}" if $td->{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 '';