[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnsync: Authorization failed

From: Andreas Schweigstill <andreas_at_schweigstill.de>
Date: 2007-01-26 21:39:54 CET

Hi!

Célio Cidral Junior schrieb:
> Following are the steps taken:
>
> $ svnadmin create myapp-mirror

You probably have to customize the generated configuration files in
myapp-mirror/conf and myapp-mirror/hooks.

>
> $ svnserve -d -r myapp-mirror

Wrong. The "-r" option determines the root directory of all repositories
which will be server by your svnserve instance.

And don't run a seperate svnserve deamon for each repository because the
same TCP port can't be used for several deamons. If it is absolutely
neccessary then the options "--list-port" and "--list-host" could be
used.

> $ svnsync init svn://localhost/ http://remote-server/repos/myapp/
> svnsync: Authorization failed

Even if the steps mentioned above have been followed this wouldn't work
because the pre-revprop-change hook hasn't been enabled.

> I can't figure out what's wrong. I have read the notes about svnsync,
> but it didn't help. Also couldn't find any answer from Google.

Strange... I was able to set-up svnsync with just the information
provided with Subversion. Did you read the Subversion book's chapters
about repository set-up at all?

And you should take care not to commit to your local copy because
otherwise svnsync won't work anymore afterwards.

With best regards
Andreas Schweigstill

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 26 21:40:29 2007

This is an archived mail posted to the Subversion Users mailing list.