[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-02-09 10:58:13 CET

On 2/9/06, Shakespeare, Simon (Pensions) <Simon.Shakespeare@capita.co.uk> wrote:

> 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 "cleared the authenticaton data and locked the next file as
someone else", did you lock it in the same working copy?
You see, locks are per-working copy, not per user! The username is
stored only for your convenience, so that you can assign a lock to
someone. But internally, a lock is assigned to an UID.

And that's good: you may have a working copy in your office, and one
at home. You lock a file in your office. That means when you go back
home, you shouldn't be able to modify that file, because you have the
lock on it at the office. Even though the lock is assigned to *you*,
it isn't to your current working copy at home.

> I wondered why it didn't use the cache second time around - Thanks

The context menu doesn't use the cache.

Stefan

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
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:06:37 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.