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

AW: Displaying locks on file externals

From: Niemann, Hartmut <hartmut.niemann_at_siemens.com>
Date: Wed, 2 Mar 2016 14:54:57 +0000

Hallo Stefan!

Vielen Dank, ich habe es auf die svn-Mailingliste gebracht, mal sehen was passiert.

Mit freundlichen Grüßen
Dr. Hartmut Niemann

Siemens AG
MO MLT LM EN CCI 1
Werner-von-Siemens-Str. 67
91052 Erlangen, Deutschland
Tel.: +49 9131 7-34264
mailto:hartmut.niemann_at_siemens.com

-----Ursprüngliche Nachricht-----
Von: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
Gesendet: Dienstag, 1. März 2016 20:45
An: users_at_tortoisesvn.tigris.org
Betreff: Re: Displaying locks on file externals

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].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3164018
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-03-02 15:55:22 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.