The following commit has been merged in the lenny branch:
commit 70f7edb8da04fe9d39a77ef4d0a720a154198f6a
Author: Raphael Hertzog <[EMAIL PROTECTED]>
Date: Fri May 23 10:48:19 2008 +0200
dpkg-source (2.0/3.0 (quilt)): improve build messages
* scripts/Dpkg/Source/Package/V2.pm (do_build): Display a
message when local modifications are stored in a new
automatic patch. This messages includes a list of
modified files.
diff --git a/ChangeLog b/ChangeLog
index e71a4a4..d469819 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2008-05-23 Raphael Hertzog <[EMAIL PROTECTED]>
+ * scripts/Dpkg/Source/Package/V2.pm (do_build): Display a
+ message when local modifications are stored in a new
+ automatic patch. This messages includes a list of
+ modified files.
+
+2008-05-23 Raphael Hertzog <[EMAIL PROTECTED]>
+
* scripts/Dpkg/Source/Package/V3/quilt.pm: Remove the .diff
from the name of the automatically generated patch. It will
facilitate the switch to this format: packages using
diff --git a/scripts/Dpkg/Source/Package/V2.pm
b/scripts/Dpkg/Source/Package/V2.pm
index 7d5a0c0..f390788 100644
--- a/scripts/Dpkg/Source/Package/V2.pm
+++ b/scripts/Dpkg/Source/Package/V2.pm
@@ -348,6 +348,11 @@ sub do_build {
unlink($tmpdiff) || syserr(_g("cannot remove %s"), $tmpdiff);
} else {
mkpath(File::Spec->catdir($dir, "debian", "patches"));
+ info(_g("local changes stored in %s, the modified files are:"),
$autopatch);
+ my $analysis = $diff->analyze($dir);
+ foreach my $fn (sort keys %{$analysis->{'filepatched'}}) {
+ print " $fn\n";
+ }
rename($tmpdiff, $autopatch) ||
syserr(_g("cannot rename %s to %s"), $tmpdiff, $autopatch);
}
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]