This is an automated email from the git hooks/post-receive script. dod pushed a commit to branch master in repository devscripts.
commit 79edb0a3b4009fa81da7be4e9c08be54d742561f Author: Dominique Dumont <[email protected]> Date: Mon Jun 8 21:28:26 2015 +0200 uscan: use defined-or (//) instead of "||" to avoid loosing '0' version field --- debian/changelog | 2 ++ scripts/uscan.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 24e4e33..c3254a6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -36,6 +36,8 @@ devscripts (2.15.5) UNRELEASED; urgency=medium * support eclipse public license (Closes: #587892) * handle LGPL as written by IBM (Closes: #587970) * handle REM style comments (Closes: #748611) + * uscan: use defined-or (//) instead of "||" to avoid loosing + '0' version field (Closes: #787767) -- Cyril Brulebois <[email protected]> Tue, 28 Apr 2015 16:58:36 +0200 diff --git a/scripts/uscan.pl b/scripts/uscan.pl index 841f8b5..45a5a06 100755 --- a/scripts/uscan.pl +++ b/scripts/uscan.pl @@ -1623,7 +1623,7 @@ sub newest_dir ($$$$$) { while ($content =~ m/<\s*a\s+[^>]*href\s*=\s*([\"\'])(.*?)\1/gi) { my $href = $2; if ($href =~ m&^$dirpattern/?$&) { - my $mangled_version = join(".", map { $_ || '' } $href =~ m&^$dirpattern/?$&); + my $mangled_version = join(".", map { $_ // '' } $href =~ m&^$dirpattern/?$&); push @hrefs, [$mangled_version, $href]; } } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
