]> git.donarmstrong.com Git - debbugs.git/commitdiff
only allow control to touch bugs in db-h, not archive
authorDon Armstrong <don@donarmstrong.com>
Mon, 18 Jun 2007 10:31:00 +0000 (11:31 +0100)
committerDon Armstrong <don@donarmstrong.com>
Mon, 18 Jun 2007 10:31:00 +0000 (11:31 +0100)
scripts/service.in

index 74768f34f72d8625108bd093af0b21b25f19ada8..66629746faa4ee5705a0ceab426b9f1229d44d57 100755 (executable)
@@ -1525,7 +1525,8 @@ sub endmerge {
 sub getbug {
     &dlen("getbug $ref");
     $lowstate eq 'idle' || die "$state ?";
-    if (($data = &lockreadbug($ref))) {
+    # Only use unmerged bugs here
+    if (($data = &lockreadbug($ref,'db-h'))) {
         $sref= $ref;
         $lowstate= "open";
         &dlex("getbug => 1");