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

Re: Re: Lock not showing

From: Johan Appelgren <johan.appelgren_at_gmail.com>
Date: 2006-02-09 11:04:56 CET

On 2/9/06, Shakespeare, Simon (Pensions) <Simon.Shakespeare@capita.co.uk> wrote:
> > -----Original Message-----
> > From: Stefan Küng [mailto:tortoisesvn@gmail.com]
> > Sent: 08 February 2006 17:17
> > To: users@tortoisesvn.tigris.org
> > Subject: Re: Lock not showing
> >
> >
> > Shakespeare, Simon (Pensions) wrote:
> > > Hi - Has anyone had a problem with the locks not showing in the
> > > working copy. I'm using TortoiseSVN 1.3.1, Build 5521 - 32
> > Bit & have
> > > tried doing a cleanup, update, check for mods (repository) but
> > > nothing seems to make the lock show. The repo browser tells me it's
> > > locked by me.
> >
> > You can't see locks in the working copy!
> > All you can see is the 'needs lock' overlay, but that is
> > shown for files
> > which are read-only.
> > If you want to see the locks in your working copy, use the "check for
> > modifications" dialog.
> >
>
> Sorry bit confused here - I tried again this morning - locked one file by me then cleared the
> authentication data & locked the next file as someone else. I see the "SVN Lock Owner" column
> in explorer & it correctly reflects the lock owner against both files. I assumed then that this
> info. is held only in the cache but having killed the TSVNCache.exe process, closed explorer &
> starting again I see the lock owners reflected correctly again. Now I assumed it got this info
> from the repository & put it in the cache but I'm really not sure as sometimes it doesn't show
> & sometimes it does.

When you lock a file in subversion a lock token will be stored in the
working copy you used to lock the file. So each working copy knows
what locks it holds.

What you can't see however are locks created in other working copies.
For this you need to use the "Check for modifications" dialog as
stated by the previous response.

Read more about subversion locks in the nightly build of the
Subversion book for Subversion 1.2, found here:
<http://svnbook.red-bean.com/>. See the section called Locking under
chapter 7 Advanced Topics.

/Johan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Feb 9 11:15:47 2006

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.