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:
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,
Received on 2012-01-18 13:11:05 CET