From ee9fb694131d4225157c0b565cf2c6b4d1149de4 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 2 Nov 2015 00:59:18 +0100 Subject: Fixup of previous commit to print errors for proper revisions --- lib/Youri/Submit/Check/Recency.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Youri/Submit/Check/Recency.pm b/lib/Youri/Submit/Check/Recency.pm index 31a0b41..54c1c52 100644 --- a/lib/Youri/Submit/Check/Recency.pm +++ b/lib/Youri/Submit/Check/Recency.pm @@ -49,7 +49,7 @@ sub run { push( @errors, "Current or newer revision(s) already exists in $section for $target: " . - join(', ', map { $_->get_revision } @revisions) + join(', ', map { $_->get_revision } @default_revisions) ); } $define->{section} = $defined_section; -- cgit v1.2.1