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

[repost] SVN commit error: svn_io_file_rename: can't move

From: <james-tigris_at_jrv.org>
Date: 2003-09-29 15:43:47 CEST

This never appeared, so one more time. As an update, the third commit
loop failed the same way after 253 iterations. The last remaining
commit loop ran until 12,000 iterations when I killed it.

Of some interest is that I started the same test last night on a
dual-processor FreeBSD 5.1 box with a file:// repository and have one
failure so far:

svn: Item already exists in filesystem
svn: Commit failed (details follow):
svn: successor id `33.0.nx' (for `33.0.nt') already exists in filesystem '/home/james/svn-test/repos/db'
$

This failure happened after 218 iterations. The other three commit
loops are still running at ~ 550 iterations and I'll let them go to
see if others drop out.

The Windows commit failure below was tested on two different systems;
the FreeBSD was a third piece of hardware.

---
C:\>svn --version
svn, version 0.29.0 (r6976)
   compiled Sep  8 2003, 00:45:48 
The test system is Windows XP with all service packs and critical
updates installed, Apache 2.0.48 and db 4.0.14, all distribution
binaries (not locally built).  The system is a 1.3 CPU P-4
(hyper-threading enabled).
Four DOS boxes are opened and the test script is run in each like this:
commit-test a 100
commit-test b 100
commit-test c 100
commit-test d 100
Each instance is using its own local and repository areas.
Of the four runners one failed after 52 iterations and another after
63, both with the error below.  The other two are still running after
158 and 160 iterations.
Sending        x99
Transmitting file data ....................................................................................................svn: A problem occurred; see later errors for details
svn: Commit succeeded, but other errors follow:
svn: Problem running log
svn: Error bumping revisions post-commit (details follow):
svn: in directory 'C:/src/svn-test/a'
svn: start_handler: error processing command 'committed' in 'C:/src/svn-test/a'
svn: error replacing text-base: x98
svn: Access is denied.
svn: svn_io_file_rename: can't move 'C:/src/svn-test/a/.svn/tmp/text-base/x98.svn-base' to 'C:/src/svn-test/a/.svn/text-base/x98.svn-base'
C:\src\svn-test\a>if not errorlevel 1 goto loop
C:\src\svn-test>
The test script below is for Windows NT.  What it does is create a
directory of N files and check it in to the repository.  In each
iteration all N files are modified and committed.
setlocal
set FILES=%2
set REPOS=http://127.0.0.1/svn/svn-test
set COUNT=0
mkdir %1
set I=1
:mkfiles
echo %COUNT% > %1\x%I%
set /a I=%I% + 1
if %I% leq %FILES% goto mkfiles
svn import -m - %1 %REPOS%/%1
rm -rf %1
svn checkout %REPOS%/%1 %1
cd %1
:loop
set /a COUNT=%COUNT% + 1
title %1 commit %COUNT%
set I=1
:files
echo %COUNT% > x%I%
set /a I=%I% + 1
if %I% leq %FILES% goto files
svn commit -m -
if not errorlevel 1 goto loop
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 29 16:11:57 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.