]> git.donarmstrong.com Git - debbugs.git/commitdiff
* support +=-foo so ari can be happy
authorDon Armstrong <don@donarmstrong.com>
Mon, 10 Aug 2009 21:57:34 +0000 (14:57 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 10 Aug 2009 21:57:34 +0000 (14:57 -0700)
scripts/service

index dce8703c948ecbcf0c22349e179ad91c4603ec86..a0bff66f7e6c5aaa6fe26395fb404ac565952bb6 100755 (executable)
@@ -787,7 +787,7 @@ END
        $ref = $clonebugs{$ref} if exists $clonebugs{$ref};
        $bug_affected{$ref}=1;
        my $tags = $2;
-       my @tags = split /[\s,]+/, $tags;
+       my @tags = map {m/^([+=-])(.+)/ ? ($1,$2):($_)} split /[\s,]+/, $tags;
        # this is an array of hashrefs which contain two elements, the
        # first of which is the array of tags, the second is the
        # option to pass to set_tag (we use a hashref here to make it