[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: Markus Fuchs <m.fuchs_at_fplusp.com>
Date: 2007-01-09 11:12:27 CET

On 1/2/07, Markus Fuchs <m.fuchs@fplusp.com> wrote:
> BTW, do you know if the unit tests for the Python
> bindings get run on Windows from time to time? I
> doubt that ra.get_dir2() works as expected although
> there is a test_get_dir2() unit test in tests/ra.py.

David,

I'm still having troubles with RA. Everything but get_dir2() works.

If I'm calling get_dir2() like this

retval = ra.get_dir2(self.session, self.path, self.rev,
core.SVN_DIRENT_KIND)

retval holds

{'svn:entry:uuid': 'd473ca4a-8f06-664d-bac5-325aff229cda',
'svn:entry:committed-rev': '2', 'svn:entry:committed-date':
'2006-12-27T12:24:52.484375Z'}

If I'm calling get_dir2() like this

(entries, _, props) = ra.get_dir2(self.session, self._svn_path,
self._requested_rev, core.SVN_DIRENT_KIND)

entries is not a dict but a string and holds "svn:entry:uuid".

What am I doing wrong? (Subversion 1.4.2, Python 2.3, Windows)

Thanks,
Markus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 11 23:31:40 2007

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