how to prevent stealing locks in subversion

hi all,
I'm using subversion  on a linux box with tortoisesvn on windows xp machines
I've a problem that users can steal others locks and my manager is refusing that and want a message to be displayed if the file is locked by another guy that say that file is locked by x for example

I googled on that and found that link:

and it refered to those links

I don't know which hook script to use but I susbect in those
but  I don't know if I'm right or wrong and if I'm right  how to make those script work
thanks in advance
best regards
Who is Participating?
shang3000Connect With a Mentor Author Commented:
hi slyong
thanks for your reply

please explain to me the following:
- I downloaded the hook script but I dont know how to  make it work
- the url does not have any detailed steps about svn:needs-lock nor the link in it

would you please excuse my ignorance and describe to me what to do or refer me to a link that say so
thanks in advance
best regards
slyongConnect With a Mentor Commented:
I didn't test out the script but from reading you need the  Refer to, the svn:needs-lock reference is
All Courses

From novice to tech pro — start learning today.