[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1663842 - /subversion/trunk/tools/dist/backport.pl

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 4 Mar 2015 21:11:26 +0000

Branko Čibej wrote on Wed, Mar 04, 2015 at 14:35:02 +0100:
> On 04.03.2015 02:31, danielsh_at_apache.org wrote:
> > +use v5.10.0; # needed for $^V
> > +
> > +# The given/when smartmatch facility, introduced in Perl v5.10, was made
> > +# experimental and "subject to change" in v5.18 (see perl5180delta). Every
> > +# use of it now triggers a warning.
> > +#
> > +# As of Perl v5.20.1, the semantics of given/when provided by Perl are
> > +# compatible with those expected by the script, so disable the warning for
> > +# those Perls.
> > +no if $^V le v5.20.1, warnings => 'experimental::smartmatch';
> >
> > # Licensed to the Apache Software Foundation (ASF) under one
> > # or more contributor license agreements. See the NOTICE file
>
> The svn-backport-conflicts bots are red across the board since this
> commit. The error is:
>
> Unknown warnings category 'experimental::smartmatch' at ./.svn/backport.pl line 15
> BEGIN failed--compilation aborted at ./.svn/backport.pl line 15.

Thanks, r1664148.
Received on 2015-03-04 22:14:12 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.