]> git.donarmstrong.com Git - debbugs.git/blobdiff - scripts/errorlib.in
* Add Debbugs::Control which will eventually contain most of the
[debbugs.git] / scripts / errorlib.in
index a93c79bf3542e376203c79f1664de98dbe839130..24ce3331fd774ae65a89cfb39f22c4387a58a33a 100755 (executable)
@@ -13,17 +13,6 @@ sub unlockreadbugmerge {
     &unfilelock if $rv >= 1;
 }
 
-sub lockreadbugmerge {
-    local ($lref, $location) = @_;
-    local $data;
-    if (!($data = &lockreadbug($lref, $location))) { return ( 0, undef ); }
-    if (!length($data->{mergedwith})) { return ( 1, $data ); }
-    &unfilelock;
-    &filelock('lock/merge');
-    if (!&lockreadbug($lref, $location)) { &unfilelock; return ( 0, undef ); }
-    return ( 2, $data );
-}
-
 %saniarray= ('<','lt', '>','gt', '&','amp', '"','quot');
 
 sub sani {