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

E200033 error for "svn copy" on Windows due to case sensitive pathnames (for SVN 1.7)

From: Niko Wilbert <mail_at_nikowilbert.de>
Date: Wed, 18 Jan 2012 13:01:31 +0100


using "svn copy" on Windows 7 with SVN 1.7.1 (1.7.1-SlikSvn-1.7.1-X64)
I got the following error message:

    E200033: database is locked, executing statement 'RELEASE s1'

I pinned it down to a case sensitivity issue with the pathnames. The
following batch script reproduces the error:

mkdir c:\test
svnadmin create c:\test\testrepo
@echo We create "Testco" but refer to it as "testco" below.
svn checkout file:///c:/test/testrepo c:\test\Testco
svn mkdir c:\test\testco\testdir
echo test > c:\test\testco\test.txt
svn add c:\test\testco\test.txt
svn commit -m test c:\test\testco
@echo Now we get a database error, with the proper case the error vanishes.
svn copy c:\test\testco\test.txt c:\test\testco\testdir\test_copy.txt

Apart from the uninformative error message this is especially a
problem for scripting. Since most programming languages consider
Windows to be case insensitive there is often no easy way to get the
"correct" pathname and paths are often returned with the "wrong"
capitalization (e.g., in Python tempfile.gettempdir() returns an all
lower case string).

Thank you and best regards,
Niko Wilbert
Received on 2012-01-18 13:11:05 CET

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