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

Re: Locking: No lock info displayed

From: Matt Doran <matt.doran_at_papercut.biz>
Date: 2006-03-17 12:49:27 CET

Michael Jervis wrote:
> Hi,
>
> We've recently switched from VSS to SVN at work, and have a slight problem.
>
> To ease the management's mind, we've set svn:requires-lock on for
> every file in our source tree at least for the time being (and have a
> hook script to enforce it staying in place). People are locking files
> fine, but the locks are not showing up at the client side.
>
> svn info for a file I know is locked:
>
> C:\projects\[doodah]\Trunk\asp\[geegaw]>svn info SomePage.asp
> Path: SomePage.asp
> Name: SomePage.asp
> URL: http://[doodah]dev:8080/repository/[doodah]/Trunk/asp/[geegaw]/SomePage.as
> p
> Repository Root: http://[doodah]dev:8080/repository/[doodah]
> Repository UUID: 15689a19-734d-fb4c-a1fa-8c74082f1526
> Revision: 53
> Node Kind: file
> Schedule: normal
> Last Changed Author: mjervis
> Last Changed Rev: 6
> Last Changed Date: 2006-03-10 11:19:34 +0000 (Fri, 10 Mar 2006)
> Text Last Updated: 2006-03-10 11:51:58 +0000 (Fri, 10 Mar 2006)
> Properties Last Updated: 2006-03-10 11:06:34 +0000 (Fri, 10 Mar 2006)
> Checksum: 8008a4c78d739b03a74c9c809fc5fe72
>
> No lock. I've just done a full svn update from the root of the repository.
>
> However, svnadmin lslocks:
>
> C:\Documents and Settings\Administrator>svnadmin lslocks
> d:\svn\[doodah] > locks.txt
>
> Includes:
> Path: /Trunk/asp/[geegaw]/SomePage.asp
> UUID Token: opaquelocktoken:939b7f68-244f-ec49-8624-42cfb901196e
> Owner: another
> Created: 2006-03-13 09:07:59 +0000 (Mon, 13 Mar 2006)
> Expires:
> Comment (1 line):
> Change to [thing] - only available via Key
>
> Any suggestions?
>
>
>
This is by design. Only locks you have created appear on the client
side. You can view locks in the server with svn ls, or svn info URL.

There is some more info about locks here:
http://svnbook.red-bean.com/nightly/en/svn.advanced.locking.html#svn.advanced.locking.lock-communication

-- Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 17 12:51:18 2006

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