about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-08-04T13·15+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-08-04T13·15+0000
commit42043953c3558f054dc5b9bb3da605a4a3ed6314 (patch)
treeb76dd2bb50e680aef5c8ef89432982ac07a0ce3e
parent5adbb0aabe54479304453bf5e544f84b40ee7dd7 (diff)
* Doh.
-rw-r--r--scripts/copy-from-other-stores.pl.in1
-rw-r--r--scripts/download-using-manifests.pl.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/scripts/copy-from-other-stores.pl.in b/scripts/copy-from-other-stores.pl.in
index 00de3ff9991e..5b695ea1a66e 100644
--- a/scripts/copy-from-other-stores.pl.in
+++ b/scripts/copy-from-other-stores.pl.in
@@ -73,6 +73,7 @@ if ($ARGV[0] eq "--query") {
             print "$deriver\n";
             print scalar @references, "\n";
             print "$_\n" foreach @references;
+            print "0\n"; # !!! showing size not supported (yet)
         }
 
         else { die "unknown command `$cmd'"; }
diff --git a/scripts/download-using-manifests.pl.in b/scripts/download-using-manifests.pl.in
index e862a2d9fb1b..f6bfb1e2857b 100644
--- a/scripts/download-using-manifests.pl.in
+++ b/scripts/download-using-manifests.pl.in
@@ -55,6 +55,8 @@ if ($ARGV[0] eq "--query") {
             my @references = split " ", $info->{references};
             print scalar @references, "\n";
             print "$_\n" foreach @references;
+            my $size = $info->{size} or 0;
+            print "$size\n";
         }
         
         else { die "unknown command `$cmd'"; }