* scripts/Dpkg/Source/Patch.pm (_fail_not_same_type): Fix
inversion between new/old filetype.
+2008-04-14 Raphael Hertzog <hertzog@debian.org>
+
+ * scripts/Dpkg/Source/Patch.pm (_fail_not_same_type): Fix
+ inversion between new/old filetype.
+
2008-04-12 Raphael Hertzog <hertzog@debian.org>
* scripts/Dpkg/Path.pm (check_files_are_the_same): Add a new
Joachim for the patch.
* Handle symlinks better when deciding if dpkg-source has to copy the
original tarball in the current extraction directory. Closes: #475668
+ * Fix the dpkg-source error message about unrepresentable changes to
+ source because the type of a file changed (new and old were inverted).
[ Updated dpkg translations ]
* Galician (Jacobo Tarrio).
my $old_type = get_type($old);
my $new_type = get_type($new);
errormsg(_g("cannot represent change to %s:"), $new);
- errormsg(_g(" new version is %s"), $old_type);
- errormsg(_g(" old version is %s"), $new_type);
+ errormsg(_g(" new version is %s"), $new_type);
+ errormsg(_g(" old version is %s"), $old_type);
$self->register_error();
}