[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-18 18:28:15 CEST

Julien TOUCHE wrote:

> we are currently using lock on TSVN with a svn server on linux and there
> are some practical questions on lock usage.
>
> for the current test, if i lock a file, i get a locked icon on my box
> (locke is also done on the server at the same time). next, if i want to
> see all lock, the only way seems to navigate tree with the tsvn
> repository browser. (or Check for Modifications Dialog, from tsvn doc)

Check for Modifications dialog seems a better way to see all locks.
Because you will see all locks in one window, without the need to browse
through the repository.

> 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 course,
if you allow me to post your email address on our website for people to
complain about hanging explorer, I might reconsider. But be prepared for
some very nasty mails).

> - when checking out, precise lock status of all locked files.

Subversion doesn't provide this kind of information on checkout.

> - (more svn handling) when checking the journal, see the lock. it
> doesn't seems lock are a a file properties as i don't see a log in the
> journal.

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.

> current alternative in docs seems to be
> - post-(un)lock hook
> - use svn:needs-lock

It not only seems to be, it *is*.

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 Sun Sep 18 18:28:37 2005

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

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