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

Bug in svn_fs_paths_changed2() Python bindings?

From: Alexey Neyman <stilor_at_att.net>
Date: Tue, 10 Aug 2010 14:53:50 -0700

Hi all,

Looks like the binding for svn_fs_paths_changed2() incorrectly specifies the
type of structures contained in the hash it returns: the following code

s = fs.paths_changed2(rev_root, pool)
for i in s:
  sys.stderr.write("%s = %s\n" % (i, repr(s)))

indicates that bindings assume the hash to contain svn_fs_path_change_t
structures, not svn_fs_path_change2_t as it should (it's the difference
between fs.paths_changed() and fs.paths_changed2(), actually).

The attached patch fixes this issue.

Regards,
Alexey.

Received on 2010-08-10 23:54:30 CEST

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