From 36d9258c0dbfeab095dc5727b6ebcb55afacb0a6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 23 Jan 2007 16:05:59 +0000 Subject: * Successors have been gone for ages. --- scripts/readmanifest.pm.in | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'scripts/readmanifest.pm.in') diff --git a/scripts/readmanifest.pm.in b/scripts/readmanifest.pm.in index 28198eba4d1d..0e15133cf121 100644 --- a/scripts/readmanifest.pm.in +++ b/scripts/readmanifest.pm.in @@ -35,7 +35,6 @@ sub readManifest { my $manifest = shift; my $narFiles = shift; my $patches = shift; - my $successors = shift; my $allowConflicts = shift; $allowConflicts = 0 unless defined $allowConflicts; @@ -51,7 +50,6 @@ sub readManifest { my $url; my $hash; my $size; - my @preds; my $basePath; my $baseHash; my $patchType; @@ -75,7 +73,6 @@ sub readManifest { undef $url; undef $hash; undef $size; - @preds = (); undef $narHash; undef $basePath; undef $baseHash; @@ -117,10 +114,6 @@ sub readManifest { }; } - foreach my $p (@preds) { - $$successors{$p} = $storePath; - } - } elsif ($type eq "patch") { @@ -138,7 +131,7 @@ sub readManifest { elsif (/^\s*Hash:\s*(\S+)\s*$/) { $hash = $1; } elsif (/^\s*URL:\s*(\S+)\s*$/) { $url = $1; } elsif (/^\s*Size:\s*(\d+)\s*$/) { $size = $1; } - elsif (/^\s*SuccOf:\s*(\/\S+)\s*$/) { push @preds, $1; } + elsif (/^\s*SuccOf:\s*(\/\S+)\s*$/) { } # obsolete elsif (/^\s*BasePath:\s*(\/\S+)\s*$/) { $basePath = $1; } elsif (/^\s*BaseHash:\s*(\S+)\s*$/) { $baseHash = $1; } elsif (/^\s*Type:\s*(\S+)\s*$/) { $patchType = $1; } -- cgit 1.4.1