after update an repository, i normally check actual changes (with TurtoiseMerge) so this tool and the update window are open.
when i then update again (by batch file) then i very often get this message:
svn: E200030: sqlite[S10]: disk I/O error
when i close TurtoiseMerge (and update window) before update again, then i never noticed it.
(i also checked for actually disk problems, but there are none)
batch file:
@echo off
svn --version > nul
if %ErrorLevel% gtr 0 (
echo Sources can't be updated because the SVN-client not found. Please install the console tools TortoiseSVN.
) else (
svn up ..\..\Axxx
svn up ..\..\Cxxx
svn up ..\..\Dxxx
svn up ..
)
used versions:
TortoiseMerge 1.14.1, Build 29085 - 64 Bit , 2021/02/09 16:17:02
libsvn_diff 1.14.1,
apr 1.6.5
apr-util 1.6.1
TortoiseSVN 1.14.1, Build 29085 - 64 Bit , 2021/02/09 16:17:02
ipv6 enabled
Subversion 1.14.1, -release
apr 1.6.5
apr-util 1.6.1
serf 1.3.9
OpenSSL 1.1.1i 8 Dec 2020
zlib 1.2.11
SQLite 3.29.0
Mit freundlichen Grüßen / With kind regards
i.A. Ansgar Arbeiter
Graduate Engineer - Development
Böning Automationstechnologie GmbH & Co. KG
Am Steenöver 4
27777 Ganderkesee
Germany
Tel.: +49 4221 9475-51
Fax: +49 4221 9475-9051
ansgar....@boening.com

Amtsgericht Oldenburg: HRA140737
Komplementär: Böning Verwaltungs GmbH
Amtsgericht Oldenburg: HRB141420
Geschäftsführer: Dipl.-Ing. Günther Böning
USt-ID Nr.: DE229750191

Hello Nathan,
thanks for reply,
sure, the "solution" is to avoid doing both together (although not convenient. especially as i have to do clean up afterwards if done accidently).
what i missed to mention it that doing the same in a previous version was working without any problem.
(but i can't say which versions it was. i guess about 1 year ago we updated svn and the version we used before had no problem)
i already tried to find known issues in turtoise bugtracker but did not find.
probably i should add one there.
Mit freundlichen Grüßen / With kind regards
i.A. Ansgar Arbeiter
Graduate Engineer - Development
Böning Automationstechnologie GmbH & Co. KG
Am Steenöver 4
27777 Ganderkesee
Germany
Tel.: +49 4221 9475-51
Fax: +49 4221 9475-9051
ansgar....@boening.com

Amtsgericht Oldenburg: HRA140737
Komplementär: Böning Verwaltungs GmbH
Amtsgericht Oldenburg: HRB141420
Geschäftsführer: Dipl.-Ing. Günther Böning
USt-ID Nr.: DE229750191

It sounds like one of the tools may be holding the working copy
database open and/or locked in some way against access by other
programs (e.g., a file system based locking, a SQLite EXCLUSIVE_LOCK,
etc).
The error message "disk I/O error" may be misleading in this case;
i.e., it may not be an actual *disk* error, but rather inability to
open or operate on the database file for other reasons. (This error is
reported when the working copy's SQLite database reports SQLITE_IOERR.
The [S10] means the same thing as SQLITE_IOERR; it doesn't give any
more information. That is a generic code for a multitude of different
conditions.)
It's probably just best to close the Tortoise windows when you want to
use the command line client; however maybe someone else on this list
will know a better answer. You could also try asking at the
TortoiseSVN mailing list (see [1] below) whether the Tortoise client
is expected to prevent simultaneous access by other clients, and if
so, whether there is a way to avoid that.
On Mon, Jul 12, 2021 at 10:32 PM Daniel Sahlberg
<daniel.l...@gmail.com> wrote:
> Den mån 12 juli 2021 kl 17:02 skrev Nathan Hartman <hartman...@gmail.com>:
>> On Mon, Jul 12, 2021 at 6:44 AM Arbeiter Ansgar <Ansgar....@boening.com> wrote:
>>>
>>> after update an repository, i normally check actual changes (with TurtoiseMerge) so this tool and the update window are open.
>>> when i then update again (by batch file) then i very often get this message:
>>>
>>> svn: E200030: sqlite[S10]: disk I/O error
Note that there is a config setting in the client-side "config" file
that might have some impact here (setting "exclusive locking" for the
SQLite database):
http://subversion.apache.org/docs/release-notes/1.8.html#exclusivelocking
Also, look for "exclusive-locking" in this svnbook section:
https://svnbook.red-bean.com/nightly/en/svn.advanced.confarea.html#svn.advanced.confarea.opts.config
Perhaps you could test if that setting has any impact on the problem
you're seeing.
Hello Daniel,
I will check if there is a Virus checker interacting.
> there is sufficent time to complete the scan so you don't notice?
it does not matter if i wait 10 seconds or 2 hours.
relevant is that TurtoiseMerge is open while i update by script again.
so to me it looks like Turtoise is locking some data/files and releasing it first when i close it.
the result of your testing batch is the following:
L:\TestProject>test_svn_lock.bat
L:\TestProject>svn up
Updating '.':
U branch\2.2.6\TestProject\src\eDef.pas
U branch\2.2.6\TestProject\src\eDes.pas
U branch\2.2.6\TestProject\src\eTyp.pas
U branch\2.6.1\TestProject\src\eCon.pas
U branch\2.6.1\TestProject\src\eDefs.pas
U branch\2.6.1\TestProject\src\eDesCtrls.pas
U branch\2.6.1\TestProject\src\eTyps.pas
U trunk\src\eCon.pas
U trunk\src\eDef.pas
U trunk\src\eDes.pas
U trunk\src\eTyp.pas
U trunk\TestProjectTester.src\Tests\UnitTests\Test_7686.pas
Fetching external item into 'ASL':
Updated external to revision 1062.
Fetching external item into 'CommonLibs':
External at revision 606.
At revision 30790.
L:\TestProject>echo "foo" 1>>test
L:\TestProject>svn add test
A test
L:\TestProject>svn ci test -m test1
Adding test
Transmitting file data .done
Committing transaction...
Committed revision 30791.
L:\TestProject>svn up
Updating '.':
Fetching external item into 'ASL':
External at revision 1062.
Fetching external item into 'CommonLibs':
External at revision 606.
At revision 30791.
L:\TestProject>echo "bar" 1>>test
L:\TestProject>svn ci test -m test2
Sending test
Transmitting file data .done
Committing transaction...
Committed revision 30792.
L:\TestProject>svn up
Updating '.':
Fetching external item into 'ASL':
External at revision 1062.
Fetching external item into 'CommonLibs':
External at revision 606.
At revision 30792.
L:\TestProject>
Mit freundlichen Grüßen / With kind regards
i.A. Ansgar Arbeiter
Graduate Engineer - Development
Böning Automationstechnologie GmbH & Co. KG
Am Steenöver 4
27777 Ganderkesee
Germany
Tel.: +49 4221 9475-51
Fax: +49 4221 9475-9051
ansgar....@boening.com

Amtsgericht Oldenburg: HRA140737
Komplementär: Böning Verwaltungs GmbH
Amtsgericht Oldenburg: HRB141420
Geschäftsführer: Dipl.-Ing. Günther Böning
USt-ID Nr.: DE229750191

Von: Daniel Sahlberg <daniel.l...@gmail.com>
Gesendet: Mittwoch, 21. Juli 2021 20:10
Hello Daniel,
I will check if there is a Virus checker interacting.
> there is sufficent time to complete the scan so you don't notice?
it does not matter if i wait 10 seconds or 2 hours.
relevant is that TurtoiseMerge is open while i update by script again.
so to me it looks like Turtoise is locking some data/files and releasing it first when i close it.
the result of your testing batch is the following:
L:\TestProject>test_svn_lock.bat