]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2003-07-15 09:40:00 by cjwatson]
authorcjwatson <>
Tue, 15 Jul 2003 16:40:00 +0000 (08:40 -0800)
committercjwatson <>
Tue, 15 Jul 2003 16:40:00 +0000 (08:40 -0800)
Only insert a placeholder parent version entry if there isn't a real one
there already.

Debbugs/Versions.pm

index 947156186d56c91f20fef4e6836c91bde5438d30..3da63ce2be86824e63b915b1a4268011ee88f742 100644 (file)
@@ -115,7 +115,7 @@ sub merge ($@)
     }
     # Insert undef for the last version so that we can tell a known version
     # by seeing if it exists in $self->{parent}.
-    $self->{parent}{$_[$#_]} = undef;
+    $self->{parent}{$_[$#_]} = undef unless exists $self->{parent}{$_[$#_]};
 }
 
 =item load