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

Re: [TSVN] lock usage

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-09-20 18:49:52 CEST

Julien TOUCHE wrote:
> Stefan Küng wrote on 18/09/2005 18:28:
>
>>> if it's the only way, i have a feature suggestion: - have a new
>>> locked icon overlay for the files which are locked by others (nothing
>>> seems to appear for now, event after a checkout)
>>
>>
>> That would mean to have the overlay cache contact the repository. And
>> that's an operation which can take several seconds, in which the
>> explorer would hang. So no, that's definitely not an option. (of
>
>
> i don't think it in this way. more like, you update your local
> repository and, as there is an icon for files you locked, there is one
> for the ones locked by others - no repository contact here.

- we would need yet another overlay icon for this. And we don't want
that: http://tortoisesvn.berlios.de/?q=node/3
- that information wouldn't be reliable. Someone else can lock a file
long after you've updated your working copy. So the overlays would tell
you somthing that isn't true anymore.

>> What's a journal? Do you mean the log? No, locks aren't recorded in
>> the log, because you don't create a new revision just for locking a
>> file. And locks aren't versioned either, because a lock always applies
>> to HEAD.
>
>
> does this mean, you can't lock a file in a branch ? lock at the same
> time, the same file in trunk and branch ?

Sure you can. First lock the file in trunk, then lock it in the branch.
If you don't have a working copy of both, use the repository browser.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Sep 20 20:25:46 2005

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