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

RE: Can I not use svnadmin load with a remote repository?

From: Jon Foster <Jon.Foster_at_cabot.co.uk>
Date: Thu, 1 Apr 2010 19:26:05 +0100

Andy Levy wrote:
> David Bartmess <dingodave_at_edingo.net> wrote:
> > My company has done a preliminary spec for moving from CVS to
> > Subversion, using the python script cvs2svn. The cvs2svn script
> > works fine, but when I try to do an svnadmin load of the dump
> > file created, using the Assembla https URL, it complains that
> > it can't find a "format" file.
> >
> > After quite a bit of web searching, I think I see the problem.
> > The path for the destination of where to load the dumpfile
> > contents seems to have to be a file path, not a URL. Is this
> > right? Or am I missing something?
>
> svnadmin requires local filesystem access for everything it does.

Yep. Your SVN host (Assembla) might be able to take your dump file
and load it for you - try asking them or filing a support request.
If they won't do that, then you can work around this by:

1) Create a new empty repository on your hard disk.

2) Use svnadmin load to load the dump file into your local repository.
   (Note: cvs2svn has the option to create a new repository for you,
   which would let you skip steps 1 and 2).

3) Use "svnsync" to sync from your local repository to the real one.
   Note that the target repository has to be completely empty to do
   this.

4) Delete your temporary local repository.

Kind regards,

Jon

**********************************************************************
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Cabot Communications Ltd.

If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone.

Cabot Communications Limited
Verona House, Filwood Road, Bristol BS16 3RY, UK
+44 (0) 1179584232

Co. Registered in England number 02817269

Please contact the sender if you believe you have received this email in error.

**********************************************************************

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Received on 2010-04-01 20:27:36 CEST

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.