[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: Anne M. Hammond <hammond_at_txcorp.com>
Date: Tue, 15 Jan 2008 13:31:02 -0700 (MST)

I just saw this, but shouldn't there be a recommendation to
use --force-uuid (set repos UUID to that found in stream, i.e.,
dumpfile) when migrating repos to make things easier
for existing users?

svnadmin load -q --force-uuid c:\svn\mmc < c:\svn\dump_mmc

On Mon, 14 Jan 2008, Armstrong, Yvonne wrote:

> Brilliant. Thanks, seems to be working now!
>
> -----Original Message-----
> From: Andy Levy [mailto:andy.levy_at_gmail.com]
> Sent: 14 January 2008 16:57
> To: Armstrong, Yvonne
> Cc: Ryan Schmidt; Roth, Pierre; users_at_subversion.tigris.org
> Subject: Re: Linux to Windows
>
> 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
>
>
> Scanned for viruses by BlackSpider MailControl
>
>
> Please refer to www.anite.com for individual Anite company details. The contents of this e-mail and any attachments are for the intended recipient only. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. It may contain information which is confidential and/or covered by legal professional or other privilege. Contracts cannot be concluded with us nor legal service effected by email.
>
> Anite plc
> Registered in England No.1798114
> Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom
> VAT Registration No. GB 787 418187
>
> Scanned for viruses by BlackSpider MailControl.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
>

-- 
Anne M. Hammond - Systems / Network Administration - Tech-X Corp
                   hammond_at_txcorp.com 720-974-1840
---------------------------------------------------------------------
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-15 21:31:43 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.