SVN List All Locked Files

Tags: SVN, Locks

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.

Source: https://stackoverflow.com/questions/284950/what-is-the-best-way-to-see-what-files-are-locked-in-subversion

No Comments

You must log on to comment.