Fix rumpuserxen-bisection
cover Fix rumpuserxen-bisection
adhoc-revtuple-generator would die if it reached a root of the git history. Fix this bug.
1/2 adhoc-revtuple-generator: Cope with parentless 2/2 adhoc-revtuple-generator: Include $treename in
I am about to push this straight to production, bypassing the push gate, since it affects only the bisector (which is currently failing) and not any of the tests.
PATCH 1/2 adhoc-revtuple-generator: Cope with parentless git commits
Signed-off-by Ian Jackson <[email protected]>
--- adhoc-revtuple-generator | 1 - 1 file changed, 1 deletion(-)
adhoc-revtuple-generator +0 -1
@@ -129,7 +129,6 @@ END m/^(\w+)\s(.*)$/ or die "$cmd: $_ ?"; push @{ $r{$1} }, $2; } - die unless @{ $r{parent} } >= 1; die unless @{ $r{commit} } == 1; die unless @{ $r{committer} } == 1; die unless $r{committer}[0] =~ m/ (\d+)(?: [-+]\d{4})$/;
Signature · 1 line
1.7.10.4
PATCH 2/2 adhoc-revtuple-generator: Include $treename in some error messages
In reply to Ian JacksonSigned-off-by Ian Jackson <[email protected]>
--- adhoc-revtuple-generator | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
adhoc-revtuple-generator +3 -3
@@ -129,9 +129,9 @@ END m/^(\w+)\s(.*)$/ or die "$cmd: $_ ?"; push @{ $r{$1} }, $2; } - die unless @{ $r{commit} } == 1; - die unless @{ $r{committer} } == 1; - die unless $r{committer}[0] =~ m/ (\d+)(?: [-+]\d{4})$/; + die "$treename -" unless @{ $r{commit} } == 1; + die "$treename -" unless @{ $r{committer} } == 1; + die "$treename -" unless $r{committer}[0] =~ m/ (\d+)(?: [-+]\d{4})$/; my $date= $1; return { Generator => "git_generator:$treename",
Signature · 1 line
1.7.10.4