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

Re: [PATCH] python bindings typemaps updates

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Wed, 27 Feb 2008 13:06:49 -0600

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

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.