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

commit fails on a dual processor FreeBSD 5.1 system.

From: <james-tigris_at_jrv.org>
Date: 2003-09-29 17:39:28 CEST

commit fails on a dual processor FreeBSD 5.1 system.

$ svn --version
svn, version 0.29.0 (r6976)
   compiled Sep 9 2003, 01:47:49
$ db4_verify -V
Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)

Four instances of the test script (below) are started. So far one has
failed thusly:

...
Finished loop 218
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'
$

The other three are still running at around 700 iterations.
The poor man's test script:

$ cat commit.sh
FILES=${2:-100}
REPOS=file://$PWD/repos
LOOP=0

if [ .$1 = . ]
then
  echo usage: $0 dir [size]
  exit 1
fi

mkdir $1
I=1
while [ $I -le $FILES ]
do
  echo $LOOP > $1/x$I
  I=$(($I + 1))
done

svn import -m - $1 $REPOS/$1
rm -rf $1
svn checkout $REPOS/$1 $1
cd $1

while svn commit -m - -q
do
  I=1
  while [ $I -le $FILES ]
  do
    rm -f x$I
    echo $LOOP > x$I
    I=$(($I + 1))
  done
  echo Finished loop $LOOP
  LOOP=$(($LOOP + 1))
done
$

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 29 17:43:18 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.