On Oct 3, 2005, at 14:46, x nooby wrote:
>
> Hi,
>
> I'm trying to use the "check-case-insensitive.py"
> script on a Windows XP Subversion host. I am getting
> an error "ImportError: No module named svn"
>
>
> My complete error is:
>
> E:\svntesting\acmepss\sales>svn ci zdate.hpp -m "test"
> Sending zdate.hpp
> Transmitting file data .svn: Commit failed (details
> follow):
> svn: 'pre-commit' hook failed with error output:
> Traceback (most recent call last):
> File "e:\svnrepo\hooks\check-case-insensitive.py",
> line 66, in ?
> from svn import fs, core, repos, delta
> ImportError: No module named svn
> Error found in commit
You can write hook scripts using pysvn and its easy to do.
However the errors you are getting are from trying to use the
svn python bindings not pysvn.
Barry
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 5 17:41:35 2005