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

Re: libsvn_ra_svn\marshal.c line 486: assertion failed (opt || cstr)

From: Stein Somers <ssomers_at_opnet.com>
Date: Tue, 15 Sep 2009 17:06:43 +0200

Stefan Sperling wrote:
> At which point do you get the failure?

The last step, the update.

> this script (which I hope is equivalent to what you were doing):

It's different in that:
- it forgets to cause a tree conflict, so not much point in resolving
- it has the revision numbers off by one, because my revision 1 was the
creation of the top directory.

With the following variation of your script I have the same assertion abort
on CentOS 5:

#!/bin/sh

set -eu

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

set -x

rm -rf $scratch_area
mkdir -p $scratch_area

mkdir -p $trunk
echo alpha > $trunk/alpha
echo beta > $trunk/beta

svnadmin create $cwd/$repos
svn import $trunk $trunk_url -m "importing project tree"
rm -rf $trunk
svn checkout $trunk_url $trunk

svn rm $trunk/alpha
svn ci -mm $trunk

svnserve --pid-file $scratch_area/svnserve.pid \
        --listen-host localhost --listen-port 36900 -d -r $repos
trap "kill `cat $scratch_area/svnserve.pid`" 0
svn co svn://localhost:36900/trunk_at_1 ${trunk}2
ls -l ${trunk}2/alpha
echo gamma > ${trunk}2/alpha
ls -l ${trunk}2/alpha
svn stat ${trunk}2
svn up ${trunk}2
svn resolved ${trunk}2/alpha
svn up -r1 --force ${trunk}2
svn revert ${trunk}2/alpha
svn up ${trunk}2

-- 
Stein
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2395117
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-15 17:07:26 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.