[PATCH] Perl bindings corrupt "{DATE}" revision variable
From: Rainer Müller <raimue_at_codingfarm.de>
Date: Wed, 2 Nov 2016 18:29:04 +0100
Hello,
when passing a revision string in the form of "{DATE}" to the Perl
---8<---
use SVN::Client;
my $ctx = SVN::Client->new();
my $repo = "http://svn.apache.org/repos/asf/subversion/trunk";
print "Before: $rev\n";
$ctx->info($repo, "HEAD", $rev, sub { print $_[1]->rev . "\n"; }, 0);
print "After: $rev\n";
--->8---
Running this script will give the following output, note the missing
Before: {2016-11-02 12:34:56}
I experienced and reproduced this problem with perl 5.20 and 5.24. Due
This problem originates in the function svn_swig_pl_set_revision in
[[
Rainer
|
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.