aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-09-01 09:59:35 +0000
committerFlorent Villard <warly@mandriva.com>2006-09-01 09:59:35 +0000
commitb3f693bdb0fa299356a07e7f293b399925c0f6a2 (patch)
tree5822ffbcbb295d37038eb72e2be3edda8a15d085 /lib
parentad28358acdd3a00cc70f0a2119c4491e31e71974 (diff)
downloadmga-youri-core-b3f693bdb0fa299356a07e7f293b399925c0f6a2.tar
mga-youri-core-b3f693bdb0fa299356a07e7f293b399925c0f6a2.tar.gz
mga-youri-core-b3f693bdb0fa299356a07e7f293b399925c0f6a2.tar.bz2
mga-youri-core-b3f693bdb0fa299356a07e7f293b399925c0f6a2.tar.xz
mga-youri-core-b3f693bdb0fa299356a07e7f293b399925c0f6a2.zip
add guillomovitch patch to have package list for existing revisions
Diffstat (limited to 'lib')
-rw-r--r--lib/Youri/Upload/Check/Recency.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Upload/Check/Recency.pm b/lib/Youri/Upload/Check/Recency.pm
index 7e598bf..5ec7995 100644
--- a/lib/Youri/Upload/Check/Recency.pm
+++ b/lib/Youri/Upload/Check/Recency.pm
@@ -23,14 +23,14 @@ sub run {
my $file = $repository->get_install_file($package, $target, $define);
if (-f $file) {
- $self->{_error} = "Current revision already exists for $target";
+ $self->{_error} = "Current revision of package $package already exists for $target";
return 0;
}
my @newer_revisions =
$repository->get_newer_revisions($package, $target, $define);
if (@newer_revisions) {
- $self->{_error} = "Newer revisions already exists for $target: " . join(', ', @newer_revisions);
+ $self->{_error} = "Newer revisions of package $package already exists for $target: " . join(', ', @newer_revisions);
return 0;
}