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

Recursively finding locks based on a URL

From: Phillip Gussow <pgussow_at_cordys.com>
Date: Thu, 16 Sep 2010 11:07:15 +0200

Hi group,

I’m running into a situation where I need to know all locks that exist on a
certain repository path.

I know there is the svnadmin lslocks command. Which is in general what I
need, but I need to do it on an URL, because I don’t have access to the
server path.

Back ground: we’re using a software package which utilizes the locks in SVN
to prevent editing of unmergable content. But sometimes the product puts
‘illegal’ locks on some files without showing their end users.

So what I would like is to ask SVN for a list of all paths that are locked.

So something like this:

svn lslocks https://server/svn/repository_name/project1/trunk

Which produces something like this:

user1 2010-09-16 10:00:00 /folder1/folder2/file.txt
                                The comment

user3 2010-09-16 10:00:00 /folder1/folder2//folder3/something.jsp The
comment

user1 2010-09-16 10:00:00 /folder1/morefile.xml
                                The comment

Do I need to log a feature request for this? And if yes, how should I phrase
this?

Or is there some other way to achieve this? Keep in mind that I have to be
able to run this on a URL from any client (of course using proper SVN
credentials J )

Thanks in advance and regards,

Phillip Gussow
Received on 2010-09-16 11:18:14 CEST

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.