This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bugzilla



On Tuesday, February 25, 2003, at 01:37 PM, Joseph S. Myers wrote:


On Tue, 25 Feb 2003, Daniel Berlin wrote:

It is already:
if (defined($pr_data{"Class"}) && $pr_data{"Class"} =~ /^duplicate/o) {
$resolution = "DUPLICATE";
} elsif (defined($pr_data{"Class"}) && $pr_data{"Class"} =~
/^mistaken/o) {
$resolution = "INVALID";
....

This code is just for closed PRs? (There are a few open PRs with Class (wrongly) set to "mistaken", though they could just be fixed manually before conversion.)
Yup, only closed PR's.
In context, it looks like:
} elsif ($pr_data{"State"} eq "closed") {
$bug_status = "CLOSED";
if (defined($pr_data{"Class"}) && $pr_data{"Class"} =~ /^duplicate/o) {
$resolution = "DUPLICATE";
} elsif (defined($pr_data{"Class"}) && $pr_data{"Class"} =~ /^mistaken/o) {
$resolution = "INVALID";
} else {
$resolution = "FIXED";
}




-- Joseph S. Myers jsm28 at cam dot ac dot uk



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]