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

Re: svn commit: r1293998 - /subversion/trunk/subversion/libsvn_repos/replay.c

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Mon, 27 Feb 2012 04:41:42 +0200

danielsh_at_apache.org wrote on Mon, Feb 27, 2012 at 02:30:38 -0000:
> Author: danielsh
> Date: Mon Feb 27 02:30:37 2012
> New Revision: 1293998
>
> URL: http://svn.apache.org/viewvc?rev=1293998&view=rev
> Log:
> Fix issue #4121: svnsync of a copy followed by delete of was-unreadable child.
http://subversion.tigris.org/issues/show_bug.cgi?id=4121
>
> * subversion/libsvn_repos/replay.c
> (was_readable): New helper.
> (path_driver_cb_func):
> Use new helper to determine whether to replay or discard deletions.

I've been trying to write a regression test for this, but got stuck
converting my shell script to Python.

I have a shellscript (attached) that reproduces the issue for me: with
r1293997 it outputs

    Copied properties for revision 1.
    subversion/libsvn_ra_svn/client.c:2440: (apr_err=210008)
    svnsync: E210008: Error while replaying commit
    zsh: exit 1 ./01repro

I am also attaching an attempt at an equivalent Python test. For me the
Python test passes against r1293997. Can anyone spot the difference?

Thanks,

Daniel

Received on 2012-02-27 03:42:36 CET

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.