[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: Gary <listgj-svn_at_yahoo.co.uk>
Date: Mon, 2 Apr 2012 10:24:06 +0100 (BST)

From: Giulio Troccoli
On 02/04/12 08:27, Gary wrote:
>> ----- Original Message -----
>> From: Henrik Sundberg
>>
>>> Do you have a precommit hook now that was not there when revs 81-82
>> were committed?
>> There are no hooks as far as I know. (I'm not an admin, and the admin is not very forthcoming on.. well, anything, really).
>>
>>
>>> Svn log will show the revisions whereever in the repository they were
>>> made. Are they missing for real?
>> Yes the revisions are really missing:
>>    $ svn log
>
>Did you run svn log on the working copy? I ask because it's really
>strange that two revisions are missing so maybe they have been made on a
>different part of the repository. I would suggest running svn info to
>get the correct repository URL and then run svn log against that URL.

Hmm. Yeah, I ran it on a working copy, just based on what Henrik said.
I wasn't really thinking (being on call will do that to a chap)... Sorry.
This is perhaps better:

$ svn log svn://devel.<domain>/<repo>/
[snip]
------------------------------------------------------------------------
r84 | gpspbu | 2011-06-24 12:52:16 +0200 (Fri, 24 Jun 2011) | 1 line

merged trunk to branch
------------------------------------------------------------------------
r83 | gpspbu | 2011-06-24 12:34:38 +0200 (Fri, 24 Jun 2011) | 1 line

added missing file
------------------------------------------------------------------------
r82 | ggapbu | 2011-06-23 17:58:49 +0200 (Thu, 23 Jun 2011) | 1 line

test
------------------------------------------------------------------------
r81 | gpspbu | 2011-06-23 17:48:03 +0200 (Thu, 23 Jun 2011) | 1 line

Created a branch working of /<repo>/trunk.
------------------------------------------------------------------------
r80 | gpspbu | 2011-06-23 16:23:46 +0200 (Thu, 23 Jun 2011) | 1 line

Added WP31
------------------------------------------------------------------------
[snip]

But that still doesn't explain to me why svnsync barfs on those (not)
missing revisions. Looking at the command line history, I can't see

anywhere where I pointed svnsync at just the trunk, only ever at the

repo/project within the repo (I took my instructions from
http://svn.apache.org/repos/asf/subversion/trunk/notes/svnsync.txt)

> On Fri, Mar 30, 2012 at 15:25, Gary<listgj-svn_at_yahoo.co.uk>  wrote:
>> 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. 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.
>>
----- Original Message -----
Received on 2012-04-02 11:24:45 CEST

This is an archived mail posted to the Subversion Users mailing list.