From: cjwatson <> Date: Tue, 15 Jul 2003 16:40:00 +0000 (-0800) Subject: [project @ 2003-07-15 09:40:00 by cjwatson] X-Git-Tag: release/2.6.0~852 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dfd1450ad5b74e934db2cecde27983113351f3cb;p=debbugs.git [project @ 2003-07-15 09:40:00 by cjwatson] Only insert a placeholder parent version entry if there isn't a real one there already. --- diff --git a/Debbugs/Versions.pm b/Debbugs/Versions.pm index 94715618..3da63ce2 100644 --- a/Debbugs/Versions.pm +++ b/Debbugs/Versions.pm @@ -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