This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

commit d23fc91c07075c8fe4b4d8da2076619e14cc22a3
Author: Guillem Jover <[email protected]>
Date:   Wed Feb 18 18:43:14 2015 +0100

    dpkg-genchanges: Clarify changes description open error
---
 debian/changelog           | 1 +
 scripts/dpkg-genchanges.pl | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d1f1c33..d9c6cbd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -89,6 +89,7 @@ dpkg (1.18.0) UNRELEASED; urgency=low
     - Use “<enter>” instead of “return” or “enter” in input prompts.
     - Say directory instead of dir in output messages.
     - Merge the same dpkg-scanpackages warning messages into a single line.
+    - Clarify dpkg-genchanges changes description open error.
 
   [ Raphaël Hertzog ]
   * Drop myself from Uploaders.
diff --git a/scripts/dpkg-genchanges.pl b/scripts/dpkg-genchanges.pl
index 3df42e7..0678e7b 100755
--- a/scripts/dpkg-genchanges.pl
+++ b/scripts/dpkg-genchanges.pl
@@ -419,7 +419,7 @@ foreach (keys %{$changelog}) {
 
 if ($changesdescription) {
     open(my $changes_fh, '<', $changesdescription)
-        or syserr(g_('read changesdescription'));
+        or syserr(g_('cannot read %s'), $changesdescription);
     $fields->{'Changes'} = "\n" . file_slurp($changes_fh);
     close($changes_fh);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/dpkg/dpkg.git


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to