SVN List All Locked Files
What you're looking for is the svnadmin lslocks
command.
I have this set up at work because we keep some Word documents in our Subversion repository (with svn:needs-lock
). I have a cron job set up that every day, checks the list of locks and emails a report of all locks older than 7 days to the whole team. That way we can tell who has been slacking and sitting on a locked copy of a document for a long time.