subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Honeylyn O. Fukuoka" <honey...@menue.com>
Subject Re: SVNSYNC Error
Date Wed, 01 Aug 2012 12:25:25 GMT
Hi,

I tried the one in your link under repository replication and followed what
was instructed there.
I also changed the pre-revprop-change hook script based on the example
given there and so as the start-commit hook.
But when I performed the 'svnsync initialize' command, I got this error:
     svnsync: E170001: Authorization Failed

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

USER="$3"

if [ "$USER" = "syncuser" ]; then exit 0; fi

echo "Only the syncuser user may change revision properties" >&2
exit 1
And for the start-commit hook:
#!/bin/sh

USER="$2"

if [ "$USER" = "syncuser" ]; then exit 0; fi

echo "Only the syncuser user may commit new revisions" >&2
exit 1

Those are exactly the same scripts that was on the book.
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.

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



Thanks so much,


Honey

On Wed, Aug 1, 2012 at 5:59 PM, Andy Levy <andy.levy@gmail.com> wrote:

> On Wed, Aug 1, 2012 at 4:57 AM, Honeylyn O. Fukuoka <honeylyn@menue.com>
> wrote:
> > Hi,
> >
> > Thanks for this.
> > We are using snserve not Apache...
> > Will this link still work with us?
>
> Yes (please read the links to the documentation you've been provided).
> But not with an HTTP URL for your source repository. If you're using
> svnserve, your URL should be svn://
>
> >
> > On Wed, Aug 1, 2012 at 4:51 PM, Stefan Sperling <stsp@elego.de> wrote:
> >>
> >> On Wed, Aug 01, 2012 at 03:00:25PM +0800, Honeylyn O. Fukuoka wrote:
> >> > Thanks so much for this info, Will try this and will let you know it
> it
> >> > is
> >> > successful...
> >>
> >> There are quite a lot of posts in this thread already, and I'm surprised
> >> that nobody seems to have pointed Honeylyn to the relevant section of
> the
> >> svnbook:
> >>
> http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html#svn.reposadmin.maint.replication.svnsync
> >>
> >> Please read this page first, and if you have any further questions,
> >> *then* ask on this list.
> >>
> >> If you're also going to set up a write-through proxy see
> >>
> >>
> http://svnbook.red-bean.com/en/1.7/svn.serverconfig.httpd.html#svn.serverconfig.httpd.extra.writethruproxy
> >>
> >> Good luck!
> >
> >
> >
> >
> > --
> > HONEYLYN O. FUKUOKA
> > System Administrator
> > Menue Philippines, Inc.
> >
> >
>



-- 
*HONEYLYN O. FUKUOKA*
System Administrator
Menue Philippines, Inc.
*
*

Mime
View raw message