[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Pierre Arnaud <pierre.arnaud_at_opac.ch>
Date: 2006-02-13 09:12:09 CET


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.



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 13 09:13:42 2006

This is an archived mail posted to the Subversion Users mailing list.