2007/1/26, Andreas Schweigstill <andreas@schweigstill.de>:
> > 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.
Wrong. I don't have to. It's a brand new repository, remember?
> > $ svnserve -d -r myapp-mirror
>
> Wrong. The "-r" option determines the root directory of all repositories
> which will be server by your svnserve instance.
Wrong. Have you at least tested that? I did, and it works. I can do
checkouts from it.
> 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.
I know it, and I'm not doing that. You have not noticed that I'm
working with *only one* local repository through svnserve; the other
one is being served from another machine through a different network
protocol.
> > $ 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.
How do you know it? That was the first thing I did after creating the
repository! (although it's not among the steps I described -- my
fault).
> > 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?
The information provided with Subversion doesn't mention a case where
the source repository requires authentication. There are --username
and --password switches; I provided them to svnsync but they didn't
solve the problem. Seems to me that they are valid only for the
destination repository (I'm not sure). By the way, I have read the
whole book an year ago.
> And you should take care not to commit to your local copy because
> otherwise svnsync won't work anymore afterwards.
The same advice is already in the notes file for svnserve.
Regards,
Célio.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 26 23:22:01 2007