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

Re: Viewing the woking copy of a lock

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 20 Aug 2019 17:07:18 +0000

Lorenz wrote on Tue, 20 Aug 2019 09:20 +00:00:
> Anton Shepelev wrote:
> >How can I view the working-copy path with which a
> >lock is associated, given the information about the
> >lock from `svnadmin lslocks'?
> you can't.
> The server knows nothing about the working copy and its location,
> only about the user.
> If you know the working copy, you could run "svn info" on all
> occurences of the file, to identify the working copy.

And for future reference, you can have your users lock files using
something along the lines of «svn lock -m "$(hostname):$(pwd)"» to be
able to answer your question. You could even enforce this with a pre-lock
Received on 2019-08-20 19:07:45 CEST

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