Hyrum K. Wright wrote:
> While poking around for the cause of the perl bindings test failures, I
> found that the python bindings are slightly out-of-date with regard to
> some of the new functions added for 1.5. This patch should fix some of
> those warnings.
>
> (This is my first time attempting to anything with the swig bindings,
> I'd like to know if I'm at least on the right track.)
I've added a test for repos.fs_get_mergeinfo, with an updated patch
attached.
-Hyrum
[[[
Python bindings: Update some output parameter typemaps.
[ in subversion/bindings/swig/ ]
* core.i
Use MERGEINFO_CATALOG instead of MERGEINFO_HASH for both ruby and
python interfaces.
* python/tests/mergeinfo.py
(RevRange, SubversionMergeinfoTestCase.setUp,
SubversionMergeinfoTestCase.tearDown,
SubversionMergeinfoTestCase.compare_mergeinfo_catalogs,
SubversionMergeinfoTestCase.compare_mergeinfos,
SubversionMergeinfoTestCase.compare_rangelists): New helper
functions.
(SubversionMergeinfoTestCase.test_mergeinfo_get): New test.
* python/tests/mergeinfo.dump:
New dump file. Created from the log tests 16 repository.
* subversion/bindings/swig/include/svn_containers.swg
Add some additional typemaps for hashes of C strings, and apply
existing typemaps to additional output parameters. Use
MERGEINFO_CATALOG instead of MERGEINFO_HASH.
]]]
Received on 2008-02-27 20:07:09 CET