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

Re: Re: Network connection closed unexpectedly after checkout/update 27 externals

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 17 Sep 2009 17:10:16 +0100

On Thu, Sep 17, 2009 at 07:43:54AM -0700, Gabriel Kalkuhl wrote:
> Steps to reproduce the behavior:
> svn, version 1.6.5 (r38866) using serf with svn:// protocol

serf does http:// not svn://.

> Server: Linux 2.6.16.60-0.27-smp #1 SMP Mon Jul 28 12:55:32 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux
>
> create new repository with 'svnadmin /daten/svntest'
> create directory prj1
> create file: 'echo "testdata" > prj1/testfile.c '
> copied prj1 100 times with incremented name
> import of 100 projects with 'svn import prj...'
> creating directory externaltest in repository
> adding property svn:externals with 100 entries like 'prj1 svn://lxes10wg/svntest/projekte/prj1'
> checkout project externaltest

Thank you, I can reproduce this problem with the following script:

#!/bin/sh

set -e

cwd=`pwd`
basename=`basename $0`
scratch_area="`echo $basename | sed -e s/\.sh$//`"
repos=$scratch_area/repos
trunk=$scratch_area/trunk
branch=$scratch_area/branch
trunk_url=svn://localhost/trunk

set -x

rm -rf $scratch_area
mkdir -p $scratch_area

mkdir -p $trunk
echo alpha > $trunk/alpha
echo beta > $trunk/beta
mkdir $trunk/gamma
echo delta > $trunk/gamma/delta
mkdir $trunk/epsilon
echo zeta > $trunk/epsilon/zeta

svnadmin create $cwd/$repos

cp $repos/conf/svnserve.conf $repos/conf/svnserve.conf.orig
cat $repos/conf/svnserve.conf.orig \
        | sed -e 's/^# anon-access = read$/anon-access = write/' \
> $repos/conf/svnserve.conf
svnserve --pid-file $scratch_area/svnserve.pid \
        --listen-host localhost -d -r $repos
trap "kill `cat $scratch_area/svnserve.pid`" 0

svn mkdir -m "mkdir trunk" $trunk_url
for i in `jot 100`
do
        svn import $trunk $trunk_url/$i -m "importing project $i"
done
rm -rf $trunk
svn checkout $trunk_url $trunk
svn mkdir $trunk/externals
(for i in `jot 100`
do
        echo "^/trunk/$i $i"
done) | svn propset svn:externals -F /dev/stdin $trunk/externals
svn commit -m "mkdir externals and propset svn:externals" $trunk
svn update $trunk

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2396087

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-17 18:11:28 CEST

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

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