]> git.donarmstrong.com Git - debbugs.git/commitdiff
* properly handle cloned bugs with reopen
authorDon Armstrong <don@donarmstrong.com>
Sat, 25 Jul 2009 13:44:35 +0000 (06:44 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sat, 25 Jul 2009 13:44:35 +0000 (06:44 -0700)
scripts/service

index 44563b6d652416bb0000571187fda2a6f893e9bf..429a7cde985d9222df62d5bb46ea267e9909e1df 100755 (executable)
@@ -567,7 +567,8 @@ END
     } elsif (m/^reopen\s+\#?(-?\d+)(?:\s+([\=\!]|(?:\S.*\S)))?$/i) {
         $ok++;
         $ref= $1;
-       $bug_affected{$ref}=1; 
+       $ref = $clonebugs{$ref} if exists $clonebugs{$ref};
+       $bug_affected{$ref}=1;
        my $new_submitter = $2;
        if (defined $new_submitter) {
            if ($new_submitter eq '=') {