You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "J. Norment" <q2...@gmail.com> on 2009/05/01 19:59:04 UTC

RE: svnsync fails with unknown error

> svnsync is failing on a 9.2 G repository.  The source repo is SVN
> 1.4.5....
> 
> Originally, a sync was set up with another repo, also running SVN 1.4.5.
> It eventually failed quietly at rev 12531.  This went unnoticed until I
> tried to build an upgrade environment in lenny running 1.5.6 and tried
> to sync the source.  It failed at rev 12531.  It doesn't give me a lot
> of information to work with:
> 
> ".svnsync: Unknown command 'failure' "
> 
> The sync has been broken 3 times now on rev 12531.
> 
> Subsequent syncs return this result:
> 
> svnsync: Path 'QA/Releases/Q2 2.6.3/Q2 Adaptors
> 2.6.3.1617/ProgramBins/Sample/QuorumChangeOfAddress' not present Failure
> synchronizing SVN repo: 1
> 
> Figuring that there was something anomalous in the repo, I did a
> hot-copy and verified all the revisions, and then attempted to make the
> hot-copy a sync destination.  It did would not establish a sync with it.
> 
> So I created an empty repo, did a dump of the orig repo, and a load into
> a repo where the link had been successfully established between the
> source and sync repos.  After doing the load, the sync complained that I
> committed data outside of the sync operation.
> 
> So what I have is this: A repo that won't sync correctly, and no way to
> force a sync repo to be created from data from a pre-existing repo.
> 
> I really need to get this migration done.  Does anyone know how to:
> 
> 1) determine why svnsync is choking?  ( I don't seem to have log files
> to work with... )
> 2) force a pre-existing repo to be used for sync'ing?
> 3) unstick the svnsync operation so that it can complete syncing the
> repo?

I went through the entire repo, committing an empty random folder and incrementing the properties that determined the next rev to sync.  There are two sets of revs that seem to trigger the unknown error.  The first set included a directory that ended with characters identified by Tortoise as %E2%96%80.  As I was unable to rename this directory from Tortoise, I assumed that this was the issue and started looking into how I could clean the data.  I think I found a way, unfortunately, I don't find the same kind of 'extra' characters in the second second of revs.

Does anyone have *any* experience that is even remotely similar to this? *at all* ?

I'm literally sitting on the migration to the SVN 1.5.6 because I'd like to make sure the data is as clean as it can be... ... and because I want to know how to prevent svnsync from just failing quietly from similar user interaction in the future...

... please help...

Thanks!

--J.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2018841

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Re: svnsync fails with unknown error

Posted by we...@tigris.org.
> I have once helped someone with a 'Path ... not present' message on this list,
> and the cause was access permissions for svnsync.
> 
> See this thread:
> http://subversion.tigris.org/ds/viewMessage.do?dsMessageId=63244&dsForumId=1065
> 
> Best regards,
> Konstantin Kolinko


I saw that thread.  I don't believe that is the case, here.  I am using an ID with full access, everywhere, and there are only two groups of revs where I encounter this issue, within the same 'sphere' of a single permissions directive.

Additionally, I was able to get svn-sync working again, using the following means:

1. hotcopying the original repo (for transfer from one server to another)
2. unpacking the hotcopy into its own repo
3. dumping the hotcopied repo into a dump file
4. loading the dump file into a newly created repo

And then svnsync against the newly loaded repo works without errors.

Note: The 'obvious' change in what was mentioned above (for me) is that the svnsync operation that works is using only 1.5.6 and repos touched by 1.5.6 tools.  There could be a number of other things that could be happening, in the hotcopy, the dump, or the load...

The question that I need to ask now is:
Are there any "gotcha's" with the way I was able to produce a working repo that could be replicated?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2314332

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svnsync fails with unknown error

Posted by Konstantin Kolinko <kn...@gmail.com>.
2009/5/1 J. Norment <q2...@gmail.com>:
>> svnsync is failing on a 9.2 G repository.  The source repo is SVN
>> 1.4.5....
>>
>> Originally, a sync was set up with another repo, also running SVN 1.4.5.
>> It eventually failed quietly at rev 12531.  This went unnoticed until I
>> tried to build an upgrade environment in lenny running 1.5.6 and tried
>> to sync the source.  It failed at rev 12531.  It doesn't give me a lot
>> of information to work with:
>>
>> ".svnsync: Unknown command 'failure' "
>>
>> The sync has been broken 3 times now on rev 12531.
>>
>> Subsequent syncs return this result:
>>
>> svnsync: Path 'QA/Releases/Q2 2.6.3/Q2 Adaptors
>> 2.6.3.1617/ProgramBins/Sample/QuorumChangeOfAddress' not present Failure
>> synchronizing SVN repo: 1
>>
>> Figuring that there was something anomalous in the repo, I did a
>> hot-copy and verified all the revisions, and then attempted to make the
>> hot-copy a sync destination.  It did would not establish a sync with it.
>>
>> So I created an empty repo, did a dump of the orig repo, and a load into
>> a repo where the link had been successfully established between the
>> source and sync repos.  After doing the load, the sync complained that I
>> committed data outside of the sync operation.
>>
>> So what I have is this: A repo that won't sync correctly, and no way to
>> force a sync repo to be created from data from a pre-existing repo.
>>
>> I really need to get this migration done.  Does anyone know how to:
>>
>> 1) determine why svnsync is choking?  ( I don't seem to have log files
>> to work with... )
>> 2) force a pre-existing repo to be used for sync'ing?
>> 3) unstick the svnsync operation so that it can complete syncing the
>> repo?
>
> I went through the entire repo, committing an empty random folder and incrementing the properties that determined the next rev to sync.  There are two sets of revs that seem to trigger the unknown error.  The first set included a directory that ended with characters identified by Tortoise as %E2%96%80.  As I was unable to rename this directory from Tortoise, I assumed that this was the issue and started looking into how I could clean the data.  I think I found a way, unfortunately, I don't find the same kind of 'extra' characters in the second second of revs.
>
> Does anyone have *any* experience that is even remotely similar to this? *at all* ?
>
> I'm literally sitting on the migration to the SVN 1.5.6 because I'd like to make sure the data is as clean as it can be... ... and because I want to know how to prevent svnsync from just failing quietly from similar user interaction in the future...
>
> ... please help...
>
> Thanks!
>
> --J.
>


> svnsync: Path 'QA/Releases/Q2 2.6.3/Q2 Adaptors
> 2.6.3.1617/ProgramBins/Sample/QuorumChangeOfAddress' not present Failure
> synchronizing SVN repo: 1

I have once helped someone with a 'Path ... not present' message on this list,
and the cause was access permissions for svnsync.

See this thread:
http://subversion.tigris.org/ds/viewMessage.do?dsMessageId=63244&dsForumId=1065

Best regards,
Konstantin Kolinko

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2142136

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].