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

Python: Fetching properties of file without content

From: Markus Fuchs <m.fuchs_at_fplusp.com>
Date: 2006-12-31 14:57:41 CET

I'm trying to get the properties of a file without fetching its contents.
According to the docs this should work by passing a NULL pointer as the
streaming object to svn_ra_get_file (cf.
http://svn.collab.net/svn-doxygen/svn__ra_8h.html#a29).
So, in Python this should look like so:
properties = svn.ra.get_file(self.session, self.path, self.rev, None)
Unfortunately this results in an "AttributeError: write" in svn_ra_get_file
(ra.py).

What am I doing wrong? Is it a bug?

Thanks,
Markus

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 31 14:58:28 2006

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