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

Re: Printing contents of file using client API in Python

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-02-20 21:24:28 CET

Simon Perreault wrote:
> On February 20, 2005 12:31, Max Bowsher wrote:
>> Just pass your req object directly to svn_client_cat. Any object which
>> supports the following method signature will work:
>>
>> <theobject>.write(<string, Unicode or any read buffer compatible object>)
>
> Thank you for your quick reply. I tried that, but it still fails:
>
> svn_client_cat(req, url, revision, ctx, pool)
> TypeError: Expected a pointer
>
> I also tried with a dummy class having a write() method, but it still
> fails.

The only other thing it could be complaining about is the revision
parameter - show some more of your code.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 20 21:26:51 2005

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

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