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

Re: "Locked" messages useless

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-10-16 17:43:04 CEST

Ingo Adler <dev@synacon.ch> writes:

> I try to lock a file which is already locked and get the message:
> svn: Path '/trunk/sprints/Sprints.mdb' is already locked by user 'iar'
> in filesystem 'C:/Daten/svnroot/myrepo/db'
> What shall I do with the information "in filesystem
> 'C:/Daten/svnroot/myrepo/db'"?
> It tells me where the repository is. But I cannot access the
> repository directly. I use Subversion for that. I wouldn't want to
> access the repository directly. Would it help, if I could access it?
> Probably not. I don't even want to know where it is physically - I use
> svn:// and http://.

When using http:// the repository location will get stripped from the
error message as a security measure. Perhaps svnserve should be doing
the same?

> Another information would be much more helpful, details about the locker.
> - on computer 'ABC' with ip '123.456.678' in location
> 'c:\projects\src\sprint\sprint.mdb'.

The working copy location never gets to the server, and anyway both
the IP address and the wc path could change after the lock is granted.
The server doesn't care which working copy holds any given lock.

> Then I could start to look for it. For instance I could ask 'iar' and
> point him to the locked file.

Subversion makes the person taking the lock responsible for knowing
which working copy holds the lock.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 16 17:44:15 2005

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

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