djames in subversion

* subversion/bindings/ctypes-python/csvn/core/

Remove unnecessary shebang line.

Found by: stsp

Fix test_lock in the Python bindings testsuite.

* subversion/bindings/swig/python/tests/

(SubversionWorkingCopyTestCase.test_lock): Assign the lock a token, and

lock /trunk/README.txt instead of /.

Patch by: Roman <>

* subversion/bindings/swig/python/tests/

(testBatonPlay): Redesign test to avoid depending on SWIG's sometimes-buggy

stringification behavior. Instead, use weak references.

Found by: Roman <>

Fix the python-windows installer generator by making it include the .dll

files in the installer. That list originally consisted only of "*.dll".

When the build system was modified to generate .pyd files for the binary

modules, it was changed to "*.pyd". The Subversion libraries and the

dependencies are still .dll files, though, so "*.dll" needs to be brought


* packages/python-windows/ Add *.dll to the list of package data.

Patch by: <>

Fixes some python testsuite failures on Windows.

("Can't remove <path>\rep-cache.db")

* subversion/bindings/swig/python/tests/,


(tearDown): Close references to the test repository so that

it can be deleted nicely.

* subversion/bindings/swig/python/tests/,


(tearDown): Override tearDown to close references to the test

repository so that it can be deleted nicely.

Patch by: Jens Peters <jpeters7677{_AT_}>


* www/tasks.html (ctypes-python): Typo fix. Follow-up to r36681.

* www/tasks.html (ctypes-python): Describe the ctypes python bindings project.

* CHANGES: Update changes to mention new ctypes python bindings

* subversion/bindings/ctypes-python/csvn/

Reverse-merge accidental merge in 36569

* STATUS: Nominate and vote for r36559

* subversion/bindings/ctypes-python/csvn/

(LocalRepository.txn): Fix bug where assert is always true. (This also

fixes a warning in Python 2.6 and later.)

* subversion/bindings/ctypes-python/

(get_apr_config): Include svn_auth_kwallet-1 and svn_auth_gnome_keyring-1

in list of libraries to load.

Fix several segfaults in the ctypes python bindings by fixing pool usage

bugs and other typos.

[ In subversion/bindings/ctypes-python/csvn ]


(RemoteRepos._log_func_wrapper): Typo fix for tmp_file parameter.

(RemoteRepos.svnimport): Return commit info in its own pool so that

it doesn't get deleted before the function exits.


(WC.commit): Ditto.

(WC.copy, WC.move, WC.delete): Pass commit info object into

function instead of NULL pointer, per API spec.

(WC._notify_func_wrapper, WC._status_wrapper, WC._info_wrapper,

WC._list_wrapper): Copy arguments into dedicated pool

to ensure it doesn't get deleted.


(Hash.__init__, Hash.__setitem__) Typo fix so items are actually

copied into local pool, as they should be.

* COMMITTERS: Add jwhitlock as a full committer.

Move examples for ctypes-python bindings into separate directory. Also update

README file to remove references to testing bindings using example scripts.

[ In subversion/bindings/ctypes-python ]

* README: Update as described above.

* examples/, examples/, examples/,

examples/ Move into separate examples directory.

    • ?
    • ?
Merge the ctypes-python-bindings branch to trunk.


In the ctypes-python-bindings branch: Make sure that platform-specific functions

are available, even if we run ctypesgen on older versions of Subversion, which

don't know about ctypesgen. This is only necessary for compatibility with

Subversion 1.5 and earlier.

* csvn/core/ Update as described above.

Let ctypesgen see all function definitions on all platforms, so that the

generated wrappers in the ctypes-python-bindings will be platform-independent.

* subversion/include/svn_client.h,






Let ctypesgen see these functions on all platforms.

In the ctypes-python-bindings branch:

* TODO: Update to reflect that we plan to accomplish these tasks after

we merge the ctypes-python-bindings to trunk. Also, remove

--release task, because I don't think we should include pregenerated

Python headers in the Subversion tarball.

On the ctypes-python-bindings branch:

* TODO: Remove more completed tasks.

In the ctypes-python-bindings branch:


(): Remove completed tasks and fix typo.

Suggested by: arfrever

Updated wc.WC.export to no longer pass NULL for the peg_revision argument.

Without this fix, the bindings would not work for Subversion 1.6.x+.

* csvn/ (WC.export): Created an svn_opt_revision_t argument to be

passed for the peg_revision argument instead of NULL.

Patch by: Jeremy Whitlock <>

In the ctypes-python-bindings branch: Add TODO file for tasks that need

to be completed before release.

* TODO: Add new file.

    • ?
In the ctypes-python-bindings branch.

* Update example script to initialize itself using

svn_cmdline_init per r32005.

In the ctypes-python-bindings branch.

* Update example script to initialize itself using svn_cmdline_init

per r32005. Also change verbose to discover_changed_paths per r30346.

In the ctypes-python-bindings branch.

* Update example script to initialize itself using


[ In the ctypes-python-bindings branch ]


Initialize self using svn_cmdline_init per r32005. Also support propset

and propdel, bringing the functionality of this example script in line

with what is offered on trunk.

In the ctypes-python-bindings branch: Don't call svn_cmdline_init or

do any other initialization at import time. Let users do the

initialization their own way instead.

This commit only updates the core library and the test suite. Example

scripts will be updated in separate commits.

Suggested by: epg

* csvn/core/

(): Remove call to svn_cmdline_init. Remove application_pool.

(Pool.__init__, Pool.destroy): Remove all references to application_pool.

* test/

Update test suite to do its own initialization using svn_cmdline_init.

In the ctypes-python-bindings branch: Support propdel.

* csvn/

(Txn.propdel, _txn_operation.propdel): New method.

(_txn_operation.replay): Support propdel.

In the ctypes-python-bindings branch.

* csvn/

(RemoteRepository.log, _LogMessageReceiver.collect): Followup to r30346.

Change "verbose" to "discover_changed_paths" in a few more places, fixing

runtime errors.