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

Re: Linux to Windows

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 14 Jan 2008 11:57:07 -0500

On Jan 14, 2008 11:49 AM, Armstrong, Yvonne <Yvonne.Armstrong_at_anite.com> wrote:
> I have dumped my repository files from LINUX using
>
> svnadmin dump mmc > dump_mmc
>
> I have copied all the dump files to the windows server and tried to
> import them but I can't get it to work.
>
> C:\svn>svnadmin create mmc --fs-type bdb
>
> C:\svn>cd mmc
>
> C:\svn\mmc>svnadmin load mmc < dump_mmc
> svnadmin: Can't open file 'mmc\format': The system cannot find the path
> specified.

Because you're inside the repository directory, you can't reference it
by its name. svnadmin is looking for c:\svn\mmc\mmc with the path
you've passed it. It MIGHT work if you run this:

svnadmin load . < dump_mmc

But I wouldn't recommend it.

Get the dumpfile out of c:\svn\mmc (maybe move it to c:\svn instead)
as that's supposed to be your repository directory and nothing you
create directly should be in there except svnserve.conf (optionally)
and hook scripts. Then run this:

svnadmin load c:\svn\mmc < c:\svn\dump_mmc

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-14 18:17:41 CET

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.