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

Locked file - Windows - filesystem number instead of path is shown in error message

From: Martin Rupp <martin.rupp_at_nefkom.net>
Date: Sun, 3 Jan 2021 04:27:03 +0100

Hi,

If a file is locked I get an error message like:

Lock failed: C:\test\svn\TestSvn\Test-o1.fodt
Error: Path '/Martin/Test-o1.fodt' is already locked by user 'martin' in
filesystem
Error: '75510a91-dada-4f23-b575-03fe34008164'

(TortoiseSVN 1.14.0, Build 28885 - 64 Bit , 2020/05/24 13:32:45)

It is okay that I get an error but I need the path of the working copy
instead of a hex number which doesn't help me.
Why I get a such unknown number instead a path?

c:\test\svn\TestSvn>svn lock Test-o1.fodt
svn: warning: W160035: Path '/Martin/Test-o1.fodt' is already locked by
user 'martin' in filesystem '75510a91-dada-4f23-b575-03fe34008164'
svn: E200009: One or more locks could not be obtained

c:\test\svn\TestSvn>svn lock Test-o1.fodt
svn: warning: W160035: Path '/Martin/Test-o1.fodt' is already locked by
user 'martin' in filesystem '75510a91-dada-4f23-b575-03fe34008164'
svn: E200009: One or more locks could not be obtained

c:\test\svn\TestSvn>svn --version
svn, version 1.14.0 (r1876290)
    compiled May 24 2020, 17:07:49 on x86-microsoft-windows

Copyright (C) 2020 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
   - with Cyrus SASL authentication
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using
serf.
   - using serf 1.3.9 (compiled with 1.3.9)
   - handles 'http' scheme
   - handles 'https' scheme

The following authentication credential caches are available:

* Wincrypt cache in E:\Users\Martin-User\AppData\Roaming\Subversion

I have also tried it with cygwin:

Martin-User_at_JODA /cygdrive/c/Test/svn/TestSvn
$ svn lock Test-o1.fodt
svn: Warnung: W160035: Path '/Martin/Test-o1.fodt' is already locked by
user 'martin' in filesystem '75510a91-dada-4f23-b575-03fe34008164'
svn: E200009: One or more locks could not be obtained

What is the "filesystem '75510a91-dada-4f23-b575-03fe34008164'"?

It seems it is the id for the svnserver (svnserve).

If I use svn auth the same id is used for the login area:

Martin-User_at_JODA /cygdrive/c/Test/svn/TestSvn
$ svn auth
------------------------------------------------------------------------
Art der Zugangsdaten: svn.simple
Anmeldebereich: <svn://qnap-nas-ts-231p3:3690>
75510a91-dada-4f23-b575-03fe34008164
Passwortspeicher: wincrypt
Passwort: [nicht angezeigt]
Benutzername: martin

Credentials cache in '/home/Martin-User/.subversion' contains 1 credential

But how can I see in which path (working copy) on which computer the
file is locked?

With best regards

Martin
Received on 2021-01-03 06:37:08 CET

This is an archived mail posted to the Subversion Users mailing list.