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

Re: [PATCH] issue #3641: svnsync fails to mirror certain dir replaces

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 20 Sep 2010 17:21:41 +0200

Tino Schwarze wrote on Mon, Sep 20, 2010 at 16:28:23 +0200:
> On Mon, Sep 20, 2010 at 02:49:42PM +0200, Daniel Shahaf wrote:
>
> > > Has anybody reviewed the patch?
> > >
> > > Too late for 1.6.13, I suppose?
> >
> > No. I've just added it to STATUS. That's the easiest way to ask for
> > reviews here :-)
>
> Thanks, but the Justification is not just "Could lead to sync'd
> repositories being different from the master." It's more severe: svnsync
> fails to copy certain operations. It's actually a "your sync totally
> stops working and you can't do anything" kind of failure - see
> http://subversion.tigris.org/issues/show_bug.cgi?id=3641
>
> If you happen to run into this:
> "svnsync: File not found: revision 5, path '/H/B/C'"
> you won't be able to sync the repository anymore after that. Which I
> consider rather disastrous given that we're going to use svnsync to
> provide partial copies of our repository to our customers.
>

Scenario #1. As you describe: svnsync bombs out and refuses to
continue.

Scenario #2. Per my comment on the issue, svnsync looks for /H/B/C ---
which DOES happen to exist --- and copies that to the target repository.

#1 is noisy failure. #2 is silent corruption (the source and target
repositories differ).

So, yes, both of them are possible outcomes; #2 is more severe and #1 is
more likely to occur in practice. :-)

> HTH,
>
> Tino.
>
> PS: Daniel, please do not take offense in that I first sent you a "jay!"
> mal in private, then this more critical one in public - I've just read
> the STATUS after my first mail (which, I felt, did not belong on a
> public list).
>

Not a hint of offence was taken.

> --
> "What we nourish flourishes." - "Was wir nähren erblüht."
>
> www.tisc.de
Received on 2010-09-20 17:22:38 CEST

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.