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

Re: svnsync: Error while replaying commit

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Mon, 02 Apr 2012 10:32:25 +0200

Am 30.03.2012 15:25, schrieb Gary:
> I see a lot of reports of this error, but little in the way of
> clear information as to what it might mean, or how to fix it:
>
> $ svnsync sync file://`pwd`/dest
> Committed revision 1.
> Copied properties for revision 1.
> Transmitting file data .....................
> [...]
> Committed revision 79.
> Copied properties for revision 79.
> Transmitting file data .......................
> Committed revision 80.
> Copied properties for revision 80.
> svnsync: Error while replaying commit
>
> Huh?
>
> If I look at the source server log, revs 81 & 82 are "missing"
> in the trunk.

Just to cut the discussion short here: You used "svn log $REPO_URL"
directly on the root of the repository, not some directory underneath.
Right?

> I imagine they are/were in a branch, which AFAIK is no longer
> available. Is there any way to get around this? Assuming that's
> the problem, of course.

Do you know more about this branch and how it was removed? Just "svn
delete"ing a branch doesn't cause revisions to vanish. I guess the
repository was modified using the dumpfilter to remove that branch,
causing a non-contiguous range of revisions. svnsync then chokes on
this, because it expects the revisions to be contiguous.

This would explain the reasons, but doesn't help you getting the
repository synced. What I would do is this:
1. Try to reproduce this problem in isolation to make sure it is a
problem with dumpfiltered revisions.
2. Try to create empty revisions in the target repository or modify the
last-synced-revision (I believe that svnsync stores such a property
somewhere). The goal is to keep svnsync from trying to sync that
revision from the upstream repository.
3. File an according enhancement request on svnsync.

Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2012-04-02 10:33:03 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.