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

Re: Perl API SVN::Ra get_commit_editor* functions broken, missing, untested

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 12 Jul 2010 16:23:08 +0200

On Mon, Jul 12, 2010 at 02:19:43PM +0100, Markus Kuhn wrote:
> BUG REPORT: The test cases for the Perl API SVN::Ra at
>
> http://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/swig/perl/native/t/6ra.t
>
> currently lack tests for any of the functions needed to commit a change
> to the repository via the remote-access API layer. For starters, there
> are no tests for get_commit_editor, get_commit_editor2,
> get_commit_editor3. (The SVN::Ra man page even says that the author did
> not succeed in testing these functions ...)
>
> When I try to use e.g. get_commit_editor2 as suggested in the SVN::Ra
> man page, I just get an error message like
>
> TypeError in method 'svn_ra_get_commit_editor2', argument 5 of type 'svn_commit_callback2_t'
>
> A short example Perl script that reproduces this is attached below.

Feel free to file an issue.
Hopefully someone will find the time to look at this.

If you're able to produce a patch that fixes this, that would be great.

Thanks,
Stefan
Received on 2010-07-12 16:24:14 CEST

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.