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

Re: Automatic mirroring to remote location

From: Harold Naparst <harold_at_alum.mit.edu>
Date: 2005-10-01 15:20:21 CEST

Well, I looked at SVN::Mirror. The documentation is VERY SPARSE.
Someone must tell the author that it is acceptable to use more than 100
words
to document packages. I wasn't able to get it to work. Have you had more
luck with it?
Could you send me some example sessions?

I keep my repositories at /usr/local/svn, and svnserve is started with -r
/usr/local/svn
Here's what I did:

export SVMREPOS=/usr/local/svn
svm init / svn://remotehost
svm sync / 6000
Syncing svn://remotehost

But really the changes weren't synced.

On 9/22/05, Dale Hirt <dale@sbcltd.com> wrote:
>
> Harold,
> svnadmin is an administrative tool. As such, it enforces the rule that
> you have to have administrative permissions via local read-write access to
> the repository.
> As for mirroring, have you looked into SVN:Mirror?
> http://search.cpan.org/~clkao/SVN-Mirror-0.66/lib/SVN/Mirror.pm<http://search.cpan.org/%7Eclkao/SVN-Mirror-0.66/lib/SVN/Mirror.pm>
> Dale
>
> -----Original Message-----
> *From:* Harold Naparst [mailto:hnaparst@gmail.com]
> *Sent:* Thursday, September 22, 2005 7:55 AM
> *To:* users@subversion.tigris.org
> *Subject:* Automatic mirroring to remote location
>
> I'd like all commits to be automatically mirrored to a remote repository.
> Does anyone know how to do this?
>
> The dump, copy to remote machine, load procedure seems cumbersome,
> although it does work. I'd like to see something like:
>
> svnadmin hotcopy svn://localhost svn://remotehost
>
> which could be placed in a commit-hooks script.
> It is surprising to me that svnadmin hotcopy only seems to take pathnames,
> not svn://URLs.
>
> Thanks,
> Harold
>
>
Received on Sat Oct 1 15:45:56 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.