When trying to run the get-location-segments.py, it throws:
TypeError: Unexpected NULL parent pool on proxy …
Show more
Fix the swig-py examples.When trying to run the get-location-segments.py, it throws: TypeError: Unexpected NULL parent pool on proxy objectSomehow, the "_parent_pool" property wasn't initialized on the context.Not sure how this works, but creating a context usingclient.svn_client_create_context() instead of client.ctx_t() (whichsubversion/bindings/swig/python/tests/pool.py also does) fixes thiserror and makes the example work again.* tools/examples/get-location-segments.py (main): Use client.svn_client_create_context instead of client.ctx_t.* tools/examples/SvnCLBrowse (SvnCLBrowse.__init__): Same.Patch by: Matthijs Kooijman <matthijs@stdin.nl>(SvnCLBrowse part by me)
Show less