<p>Because windows is case-insensitive and because SVN is case-sensitive and because VS2005 tends to rename files giving them the lower-case form which messes my repositories' history, I've tried to add the pre-commit hook script from <a href="http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/case-insensitive.py" rel="nofollow noreferrer">http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/case-insensitive.py</a>.
Sure enough, the script uses classes from python's libsvn ("from svn import repos, fs") which I fail to find compiled for Windows.
Is there an alternative? To libsvn or to the hook script?</p>

There are two alternative Python bindings for libsvn:
pysvn
.
subvertpy
.
Subvertpy is quite new and is written by the author of
bzr-svn
: the transparent
svn
inter-operation bridge for
bzr
.
For a while, bzr-svn used the upstream
SWIG
Python bindings, and the author contributed a lot of bug fixes. It helped move the upstream python support for "horribly broken" to "painfully aggravating and unpythonic". So after wasting too many hours of his life to SWIG, the author decided to make his own bindings.