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

Re: user lock list

From: Dave Huang <khym_at_azeotrope.org>
Date: Fri, 6 Jan 2012 14:17:35 -0600

On Jan 6, 2012, at 1:08 PM, Andy Levy wrote:
> Or you could run svn info against every item in the
> repository via URL - but that would be extremely slow.

I guess that depends on how big your repo is. I have a script that send a reminder email to people who have kept files locked for over a week. It does an "svn info -R --xml" on the trunk directory via URL, and performance is fine: it takes 12 seconds for about 3000 files.

svnadmin lslocks is fast, but as far as I can tell, it doesn't support XML output, which makes it more inconvenient to parse from a script.

-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym_at_azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 36 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2906622
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-01-06 21:17:58 CET

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

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