about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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'"; }