[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: Giulio Troccoli <giulio.troccoli_at_mediatelgroup.co.uk>
Date: Mon, 02 Apr 2012 13:43:31 +0100

On 02/04/12 13:16, Gary wrote:
> ----- Original Message -----
> From: Giulio Troccoli
> On 02/04/12 11:51, Gary wrote:
>> ----- Original Message -----
>> From: Giulio Troccoli
>> On 02/04/12 11:10, Gary wrote:
>>> ----- Original Message -----
>>> From: Giulio Troccoli
>>>> On 02/04/12 10:24, Gary wrote:
>>>>>> 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)
>>>>> Well, at least we know that the revisions are not missing.
>>>>>
>>>>> Can you show us the source repository path for you synced repo? It
>>>>> should be in one of the properties stored in revision 0 in the synced
>>>>> repo, if I remember well.
>>>> Do you mean in the properties of the one I am trying to sync into, or
>>>> from?I'm not really sure what you mean :P
>>> Sorry, I wasn't very clear. The one your syncing into, so the
>>> destination repo.
>>> No problem. I don't know if this is exactly what you want, but:
>>> $ cat ./db/revprops/0/0
>>> K 8
>>> svn:date
>>> V 27
>>> 2011-03-01T16:14:38.678110Z
>>> K 17
>>> svn:sync-from-url
>>> V 33
>>> svn://devel.<domain>/<repo>
>>> K 18
>>> svn:sync-from-uuid
>>> V 36
>>> 7c76b8fe-c8ee-45e6-8ede-b17e10a7e991
>>> K 24
>>> svn:sync-last-merged-rev
>>> V 1
>>> 0
>>> END
>>>
>>> So you mean the "sync-from-url" property? That looks correct, to me (with
>>> my admittedly limited knowledge)
>> Well, I would have used svn pl -r0<repo> to get the list of props (I didn't remember its name) and then svn pg svn:sync-from-url -r0<repo> but I guess it's the same thing.
>>
>> It looks like you're syncing the whole repo. I was just checking :-)
> Okay :)
>
>> Howeve, why is svn:sync-last-merged-rev 0? It should be, well, the last merged revision, 79 I think. I guess svn pg svn:sync-last-merged-rev shows 0 as well?
> Oh, simply because I removed that (destination) repo once it was clear
> it was not correct. I then recreated it this morning in order to perform
> one or other operation you or someone else asked me to do.
>
> If I do it now (having tried to sync again), I get:
> $ cat db/revprops/0/0
> K 8
> svn:date
> V 27
> 2011-03-01T16:14:38.678110Z
> K 26
> svn:sync-currently-copying
> V 2
> 81
> K 17
> svn:sync-from-url
> V 33
> svn://devel.<domain>/<repo>
> K 18
> svn:sync-from-uuid
> V 36
> 7c76b8fe-c8ee-45e6-8ede-b17e10a7e991
> K 24
> svn:sync-last-merged-rev
> V 2
> 80
> END
> as you expected.
>
>>>> Why is it showing files in trunk when you're log command is for
>>>> branches/working ? Or have you just pasted the wrong command?
>>> Nope, that's the command. I mean, it *is* the log, so... shouldn't it?
>>> The commands for trunk and branch produce the same output, anyway:
>>> [12:39:07] jg_at_ggajg ~/.tmp
>>> $ svn log -v -r80 svn://devel.<domain>/<repo>/trunk> trunk ; svn log -v -r80 svn://devel.<domain>/<repo>/branches/working> branch
>>>
>>> [12:39:26] jg_at_ggajg ~/.tmp
>>> $ diff -q trunk branch
>>>
>>> [12:39:29] jg_at_ggajg ~/.tmp
>>>
>> What version of SVN are you using? I've got 1.6.12 and if I am in a directory where no changes were made for a revision then svn log doesn't show anything,>e.g.
>>
>> svn log -v -r17727
>> ------------------------------------------------------------------------
> $ svn --version
> svn, version 1.6.17 (r1128011)
> compiled Jun 2 2011, 10:39:28
>
> I'm not 100% sure what the server version is.
>
>> In the list of files changed in revision 80 that you posted earlier, are there any files at all that are actually in branches/working?
> No, all are in trunk.

That is really baffling me. But mayber that's because you have different
version.

I just thought something else. svnsync stops when trying to create the
branch (rev 81). So maybe the error is something not related to the
repository, like permission (I don't think so though) or some hooks.
Sorry, I am a bit to a dead end here.
Received on 2012-04-02 14:44:06 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.