svn - What is the best way to see what files are locked in Subversion? -
i got group switch sourcesafe subversion. unfortunately, manager still wants use exclusive locks on every single file. set svn:needs-lock property on every file , created pre-commit hook make sure property stays set.
we running subversion on linux server. of use windows machines , few use macs. using various svn clients (tortoisesvn, smartsvn, subclipse, etc.).
what need good/easy method see files locked in entire repository (and has them locked). have poked around little in tortoise , subclipse, haven't found looking for. our projects have many subdirectories multiple levels deep, time consuming @ each individual directory.
what single report can run lists locked , has locked. best way type of information?
what you're looking svnadmin lslocks
command.
i have set @ work because keep word documents in our subversion repository (with svn:needs-lock
). have cron job set every day, checks list of locks , emails report of locks older 7 days whole team. way can tell has been slacking , sitting on locked copy of document long time.
Comments
Post a Comment