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

Re: BUG with complex branching, only over neon and serf

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2007-09-13 00:32:31 CEST

Eric Gillespie <epg@pretzelnet.org> writes:

> I found a bug in ra -neon and -serf that can't be shown with the
> client library, but only when using the ra commit editor to build
> up a relatively complex transaction. Presumably you can
> demonstrate this problem with mucc, but I have not tried.
>
> The problem is basically:
>
> 1. Delete /trunk/dir1/dir2/
> => commit r13
> 2. In one transaction:
> a. Copy /trunk@13 to /branch
> b. Create /branch/dir1/dir2
> => commit r14
> 3. In one transaction:
> a. Delete /branch
> b. Copy /trunk@13 to /branch
> c. Create /branch/dir1/dir2
> => ERROR: .../branch/dir1/dir2 already exists

I don't have a working set of python binding but using svnmucc your
recipe doesn't trigger a bug:

#!/bin/sh
svnmucc="../../../contrib/client-side/svnmucc/svnmucc --username jrandom --password rayjandom -mm"
REPO=http://localhost:23510/svn-test-work/repositories/repo
rm -rf svn-test-work/repositories/repo
svnadmin create svn-test-work/repositories/repo
$svnmucc mkdir $REPO/trunk mkdir $REPO/trunk/dir1 mkdir $REPO/trunk/dir1/dir2
$svnmucc rm $REPO/trunk/dir1/dir2
$svnmucc cp 2 $REPO/trunk $REPO/branch mkdir $REPO/branch/dir1/dir2
$svnmucc rm $REPO/branch cp 2 $REPO/trunk $REPO/branch mkdir $REPO/branch/dir1/dir2
svn --username jrandom --password rayjandom log -vq $REPO

------------------------------------------------------------------------
r4 | jrandom | 2007-09-12 23:30:24 +0100 (Wed, 12 Sep 2007)
Changed paths:
   R /branch (from /trunk:2)
   A /branch/dir1/dir2
------------------------------------------------------------------------
r3 | jrandom | 2007-09-12 23:30:24 +0100 (Wed, 12 Sep 2007)
Changed paths:
   A /branch (from /trunk:2)
   A /branch/dir1/dir2
------------------------------------------------------------------------
r2 | jrandom | 2007-09-12 23:30:24 +0100 (Wed, 12 Sep 2007)
Changed paths:
   D /trunk/dir1/dir2
------------------------------------------------------------------------
r1 | jrandom | 2007-09-12 23:30:24 +0100 (Wed, 12 Sep 2007)
Changed paths:
   A /trunk
   A /trunk/dir1
   A /trunk/dir1/dir2
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 13 00:29:07 2007

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.