You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Pierre Arnaud <pi...@opac.ch> on 2006/02/13 08:12:09 UTC

pre-lock-require-needs-lock.py on Win32

Hello,

I've been using the various hook scripts with success on Win32 with
Apache and svn 1.3. I've set up the *.bat files to call the matching
*.py files (e.g. for the e-mail notifications on lock/unlock/commit)
and it works like a charm.

However, I've got some trouble with the pre-lock-require-needs-lock.py
script when dealing with accented characters in the file paths. In my
case, when I try to lock a file in repository 'C:/Subversion/test'
with a path of '/scripts/Modèles/essai.txt' the python script crashes
in the fs.svn_fs_node_prop call, complaining that it came across a
null object.

When specifying paths which contain only ASCII characters, the script
works, however.

As I am by no means a Python nor an SVN guru, I'd be glad if someone
could provide some advice on this matter.

Thanks a lot.

Pierre

http://www.creativedocs.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org