subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Schöning <tschoen...@am-soft.de>
Subject Re: SVNSYNC Error
Date Wed, 01 Aug 2012 13:31:34 GMT
Guten Tag Honeylyn O. Fukuoka,
am Mittwoch, 1. August 2012 um 14:25 schrieben Sie:

> I also changed the pre-revprop-change hook script based on the example
> given there and so as the start-commit hook.

pre-revprop-change is enough, start with the easiest setup possible.

> But when I performed the 'svnsync initialize' command, I got this error:
>      svnsync: E170001: Authorization Failed

This has nothing to do with hooks, I suspect you provided wrong user
credentials to the source repo. Check that the provided user on the
command line is the same as stated in passwd file of the source repo.

> Here are the scripts I put in the pre-revprop-change hook
> #!/bin/sh

I'm rude now, but please concentrate on your problem! I only had a
fast look over the messages in this thread and found more than one
message telling you that hooks starting with #!/bin/sh are for Linux,
not for Windows. They won't work, don't do that, ignore each and every
hook starting with that line. It's wasted time, confuses you and even
the people who try to help you. You want to sync either to Windows or
Linux, I read Windows and therefore you won't need to do anything
starting with #!/bin/sh.

Please delete those files you created and simply forget about them.
:-)


> Those are exactly the same scripts that was on the book.

But the book has a paragraph noticing that one has to adopt the
procedure on Windows on it's own.

> I also did what David told me to do, to create another pre-revprop-change
> hook script with 'exit 0' and save it in .bat but also received the same
> error.

Because you don't even get where the hook could be used. But the
creation of this and only this one hook is fine and what you need.
Only this hook with the line "exit 0" as pre-revprop-change.bat.

> Can anyone tell me what should I do to succesfuly erform the initialize
> command?

Check the login credentials for the source and maybe even the
destination repo, depedning on how you access the destination. Provide
us the exact command line you ran for initialize, just without
passwords of course.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon.............030-2 1001-310
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow


Mime
View raw message