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

Re: Python: Fetching properties of file without content

From: David James <james_at_cs.toronto.edu>
Date: 2007-01-01 01:25:13 CET

On 12/31/06, Shun-ichi GOTO <shunichi.goto@gmail.com> wrote:
> 2007/1/1, David James <james@cs.toronto.edu>:
> > On 12/31/06, Markus Fuchs <m.fuchs@fplusp.com> wrote:
> > > 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?
> >
> > Yes, this is a bug in the Python bindings, which I believe was fixed
> > in Subversion 1.3.0. What version of the Python bindings are you
> > using?
>
> Really? I've tried with python binding 1.3.0, 1.3.1 and 1.4.2 on Windows
> and 1.3.2 on debian.
> I got same result with all of them: "AttributeError: write".

Oops, you're right! This bug is still present in Subversion trunk.
I've fixed this bug in r22849 in Subversion trunk, so the fix should
be included in Subversion 1.5 when it is released. I've also added
some tests to verify this fix.

If you have time, can you verify my fix on your machine?

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 1 01:25:38 2007

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.