There is a limit in cr-daily-branch, but none in cs-bisection-step.
adhoc-revtuple-generator could usefully have this built in but that's
not so simple, so do it again here. We already slurp the whole thing
into core so from a resource usage point of view we might as well do
the length check here too.
Reported-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: Fix typo in message.
"./adhoc-revtuple-generator -S @revtuplegenargs $rts";
my $revinfo= `$revrune`;
if (!$?) {
+ if (length($revinfo) > 24000) {
+ $revinfo = <<END;
+(Revision log too long, omitted.)
+END
+ }
summary_report("",$revinfo,-1);
}
}