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

Re: remote svn dump?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-09-26 18:56:00 CEST

On 9/26/05, Andreas Jellinghaus <aj@ciphirelabs.com> wrote:

SVN::Mirror should be able to do what you want.

> note: svn mirror doesn't work for me either:
> - it creates bdb repositories
> - it does something strange with the path, right?
> - I tried like this:
> #!/usr/bin/perl -w
>
> use strict;
> use SVN::Mirror;
>
> my $ru = "http://www.opensc.org/svn";
> my $lr = "/home/aj/mirror";
>
> chdir $lr or die "can't cd to $lr: $!\n";
>
> foreach my $r ("test") {
> my $m = SVN::Mirror->new(source => "$ru/$r/",
> repos => "$lr/$r/",

Try making that 'repospath', not 'repos' and see if it works. The
documentation for SVN::Mirror is pretty poor in this case, but
according to my reading of the code that should work.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 26 19:06:33 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.