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

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

From: Bert Huijben <bert_at_qqmail.nl>
Date: Wed, 18 Jan 2012 14:23:27 +0100

> -----Original Message-----
> From: niko.wilbert_at_googlemail.com [mailto:niko.wilbert_at_googlemail.com]
> On Behalf Of Niko Wilbert
> Sent: woensdag 18 januari 2012 13:02
> To: dev_at_subversion.apache.org
> Subject: E200033 error for "svn copy" on Windows due to case sensitive
> pathnames (for SVN 1.7)
> Hi,
> 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.
> @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.
> @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

Ok, I can reproduce this and have a possible patch. But I need some time to verify the side effects of fixing this issue.

The problem is caused by a side effect of the issue #3702 'Unable to perform case-only rename on windows' fix.

The fix for this issue makes us see the paths as

svn copy C:\test\testco\test.txt C:\test\Testco\testdir\test_copy.txt

We then open working copy databases for both C:\test\testco and C:\test\Testco to perform a between wc copy operation.

Applying a simple fix might break other issues, so I need a bit more time to investigate.

Received on 2012-01-18 14:24:06 CET

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