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

Re: OO Interface to SVN::Client Perl Module

From: Ben Reser <ben_at_reser.org>
Date: 2003-12-17 04:52:38 CET

On Tue, Dec 16, 2003 at 09:59:30PM -0500, Garrett Rooney wrote:
> I've been playing around with an OO interface to some of the
> SVN::Client perl module. Basically it takes the functions that take a
> context argument and turns them into methods on a SVN::Client object.
>
> This is VERY lightly tested, and probably has issues since my Perl
> experience doesn't generally involve going in and messing with the
> symbol table (which this does).
>
> That said, the few things I've tried to seem to work, and I'm curious
> if people thing this would be a good direction to move in.

I've already got some of this done. I just haven't submitted the patch
yet. It's necessary for the prompt support reworking that I've been
doing. clkao found that the cv trick I used fails for closures. So
we're having to use a different technique that requires a more OO
interface to SVN::Client (SVN::Ra the other place effected already has
this).

I need to finish testing to be sure I'm not breaking something else and
to make sure I'm really not leaking memory.

I hadn't written the code yet to import all the subs into the
SVN::Client namespace yet on my side, but I have written a new. And
written the wrapper for the auth_open stuff we needed. I'll probably
adopt some version of your patch for the rest of it.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 17 04:54:10 2003

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.