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

remove-zombie-locks.py not passing username to pre-unlock hook

From: <kmradke_at_rockwellcollins.com>
Date: Thu, 12 Feb 2009 09:54:01 -0600

I have a pre-unlock hook that checks for certain usernames before allowing
the unlock.
This works great.

If I run remove-zombie-locks.py on a repo (on the server), the hook script
gets called
with a null 3rd parameter. I.E. no username.

Any svn python gurus know if you can use the python api to pass an
username
when using svn.repos.svn_repos_fs_unlock routine?

I'd rather not just allow an empty username to remove locks in my
pre-unlock
hook...

Kevin R.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1145783

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-13 00:01:17 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.