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

gregoa pushed a commit to branch master
in repository libparse-debianchangelog-perl.

commit c78c5bc81efa285a4e5ce5820b612fca0f4addfd
Author: gregor herrmann <gre...@debian.org>
Date:   Sat Oct 8 15:24:13 2016 +0200

    New patch: don't trim file names in error messages.
    
    Thanks: Christoph Biedl for the bug report.
    Closes: #840099
---
 debian/patches/dont-trim-filenames-in-errors.patch | 17 +++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/dont-trim-filenames-in-errors.patch 
b/debian/patches/dont-trim-filenames-in-errors.patch
new file mode 100644
index 0000000..5606cd1
--- /dev/null
+++ b/debian/patches/dont-trim-filenames-in-errors.patch
@@ -0,0 +1,17 @@
+Description: Don't shorten file names in error messages.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/840099
+Forwarded: no
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2016-10-08
+
+--- a/lib/Parse/DebianChangelog.pm
++++ b/lib/Parse/DebianChangelog.pm
+@@ -163,7 +163,6 @@ sub _do_parse_error {
+ 
+     push @{$self->{errors}{parser}}, [ @_ ];
+ 
+-    $file = substr $file, 0, 20;
+     unless ($self->{config}{quiet}) {
+       if ($line) {
+           warn "WARN: $file(l$.): $error\nLINE: $line\n";
diff --git a/debian/patches/series b/debian/patches/series
index 2ca21f8..b00afa5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ Build.PL-when-a-PO_BUILD_DATE-environment-variable-i.patch
 Remove-support-for-broken-timezone.patch
 html-rev_made-rel_author.patch
 timestamp-dpkg-1.18.8.patch
+dont-trim-filenames-in-errors.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libparse-debianchangelog-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to