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

Re: Displaying locks on file externals

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 1 Mar 2016 20:44:59 +0100

On 01.03.2016 18:06, Niemann, Hartmut wrote:
> Hello!
>
> One project here makes heavy use of file externals and locking,
>
> building projects from a pool of binary objects
>
> with this.
>
> The question to solve is: who holds a lock where?
>
> Locking of file-externals now (in 1.9.3-27163) works (it did not in
> 1.8), but:
>
> when I select a single file-external file -> show modifications -> check
> repository, I see a lock held for this file.
>
> when I select the directory -> show modifications -> check repository,
> the list of locks is empty.
>
> Is this a bug? Can it be fixed easily?

Don't know if it can be fixed easily:
it's the svn library that does not report such locks.

You can try yourself:
$ svn st -u .
won't show locks on file externals, but it will show locks on normal files.

When you show the status for a file external directly, you show the
status as if the file was not an external but from where it's included
from. That's why the remote lock is shown then.
But if you show the status for a working copy, the remote info is not
fetched from file externals.

> It would help us here tremendously, if we could get a list, which of
> these (mainly file-external) files are locked (and by whom).

You would have to ask for this feature on the svn mailing list.
Can't really do that in TSVN since it would require a separate round
trip to the server for every file external - and there are repos out
there with literally thousands of file externals in one working copy!

This needs to be handled in the svn lib so the round trips are not
necessary.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3163745
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-03-01 20:44:36 CET

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.