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

Commit succeeded, deltification failed

From: Luc Saillard <luc_at_fr.alcove.com>
Date: 2002-08-08 11:08:57 CEST

Hi,

i try to put linux kernel 2.5 into subversion and i've a problem, when I
try to commit the 2.5.18 patches. Next the error:
Committed revision 34.
Thu, 08 Aug 2002 02:43:09 +0200 - Applying kernel patch 2.5.17
Thu, 08 Aug 2002 02:43:30 +0200 - Commit patch-2.5.17

Committed revision 35.
Thu, 08 Aug 2002 02:50:30 +0200 - Creating branch 2.5.17

Committed revision 36.
Thu, 08 Aug 2002 02:50:31 +0200 - Applying kernel patch 2.5.18
Thu, 08 Aug 2002 02:51:21 +0200 - Commit patch-2.5.18

svn_error: #21090 : <Berkeley DB error>
  Commit failed (details follow):

svn_error: #21090 : <Berkeley DB error>
  Commit succeeded, deltification failed

svn_error: #21090 : <Berkeley DB error>
  (charset conversion failed)

Then i've try to do a commit again, and i've a error that some file need to
be update. So i run svn update, and it took more than 700MB of memory. Next
the script that i've used for the test. I've you any ideas about this
problem ? i've search into the mailing archive, but found nothing. I use
2.4.19-rc1 kernel with 320MB of memory and about 800MB of swap. The
repository and the linux source is on two scsi hard drive to speedup the
process. It's not a problem of disk space, i've 600MB free on each drive.
I use Subversion Client, version 0.14.0 (r2667) compiled Aug 4 2002, 09:50:42.

Luc

----------------------------------
#!/bin/bash

set -e

# dir: where to put the linux tree
# kerneldir: where we will find the kernel source + patches
# svndir: where to put the repository
# logdir: where to put logfiles
dir=/mnt/linux/srcs/linux/linux-2.5/
kerneldir=/mnt/bigdur/tmp/linux
svndir=/mnt/bordel/tmp/linux
svnurl=file://$svndir
logdir=$PWD

log()
{
  set -e
  echo `date -R` - $*
}

logandexec()
{
  set -e
  echo `date -R` - $*
  $*
}

#echo > $logdir/log
#echo > $logdir/log_exec
pushd $dir
log Starting script
logandexec rm -rf $svndir linux
logandexec svnadmin create $svndir

logandexec tar -xjf $kerneldir/linux-2.5.0.tar.bz2
logandexec svn import $svnurl $dir/linux linux -m "'Initial_import'"

logandexec rm -rf $dir/linux

logandexec svn checkout $svnurl/linux

log Creating branch 2.5.0
logandexec svn cp $svnurl/linux $svnurl/linux-2.5.0 -m "Linux_2.5.0"

pushd linux
let ver=1
while [ $ver -lt 30 ] ; do
  log Applying kernel patch 2.5.$ver
  bzcat $kerneldir/patch-2.5.$ver.bz2 | patch -s -p1
  log Commit patch-2.5.$ver
  svn -q commit -m "Patch_2.5.$ver"
  log Creating branch 2.5.$ver
  svn cp $svnurl/linux $svnurl/linux-2.5.$ver -m "Linux_2.5.$ver"

  let ver=$ver+1
done

log Script finished

popd
popd
-------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 8 11:09:34 2002

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.