]> git.donarmstrong.com Git - debbugs.git/commitdiff
add bugs listed in the config file to the mirrored bugs
authorDon Armstrong <don@donarmstrong.com>
Thu, 10 Aug 2017 19:46:20 +0000 (12:46 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 10 Aug 2017 19:46:20 +0000 (12:46 -0700)
bin/local-debbugs

index 0223da14ac7c3f4d0ca8f9bae8496e98fa3c2ddc..1f212436f9c294fa28056224fbb8098d9e740f84 100755 (executable)
@@ -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;
 }