subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Berglund <>
Subject Re: Subversion 1.9.7 server on Windows, advice on setting up svnsync?
Date Thu, 29 Mar 2018 12:45:03 GMT
On Thu, 29 Mar 2018 13:20:04 +0100, Philip Martin
<> wrote:

>Bo Berglund <> writes:
>> 1) Do I have to disable the hooks I put in place for sync during the
>> load? Or will they not be triggered during a load operation?
>No, by default load does not invoke hooks.  You can choose to invoke
>them via a command line options.

Good, then I will go ahead and erase the failed mirror repos and
re-create them and then load the dump files. But for the not yet used
repos I can just start loading the dumps. Saves some time.

>> 2) What do I do about the two repos where I have already run an
>> initialization command without the flag and where a number of
>> revisions have already been transferred before the error?
>If you want to load a dumpfile into these repositories then you need an
>incremental dumpfile that starts at the correct revision, not at zero.
>So to update a mirror where head is rN you need:

I don't need to continue from where they failed, it is easier for
these two to just load the full dump into a newly created empty repo.

>The master knows nothing about the mirror (except for any custom stuff
>that you put into the master hook files).  All the svnsync
>initialization data is stored as revprops on r0 of the mirror. e.g:

That is the important item I needed! It means that if I kill the
existing partial mirror repos and re-create them anew I will have a
working target after I load the dump! :)

Thank you very much for your help! Much appreciated!

Bo Berglund
Developer in Sweden

View raw message