From: Don Armstrong Date: Thu, 10 Aug 2017 19:46:20 +0000 (-0700) Subject: add bugs listed in the config file to the mirrored bugs X-Git-Tag: release/2.6.0~76 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=72db3453d963dd5234009649c4ca556da9d4cc06 add bugs listed in the config file to the mirrored bugs --- diff --git a/bin/local-debbugs b/bin/local-debbugs index 0223da1..1f21243 100755 --- a/bin/local-debbugs +++ b/bin/local-debbugs @@ -548,7 +548,7 @@ sub select_bugs{ elsif (/\s\w+\:/) { push @bug_selections, $_; } - } + } } # Split archive:both into archive:1 and archive:0 @bug_selections = @@ -599,6 +599,10 @@ sub select_bugs{ $bugs{$archived_bugs}{$_} = 1 for @{$bugs}; } } + for my $bug (@bugs) { + $bugs{archived}{$bug} = 1; + $bugs{unarchived}{$bug} = 1; + } return \%bugs; }