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

Re: Migrating to svn

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Thu, 19 Nov 2009 16:01:29 +0300

Greetings, Lacoste, Dana (TSG Software San Diego)!

> I don't know if someone can help me, but I'm trying to migrate from another SCM to svn.

> I keep running into issues:

> The original SCM was, well, extremely large. massive. So we're running a tool to extract data in it to the svn dump format. Fine (the dump format looks fine enough) but I can't seem to get it to
> LOAD.

> Example:

> Dump branch A into svn-brancha.dump (content is in branches/branchA)
> Dump branch B into svn-branchb.dump (content is in branches/branchB)

If you want to import it in the same repository and have consistent repository
after that - don't do it.
Dump whole repository, or as much of it as required for migration, at once.

> svnadmin load branch A : no problem.

> svnadmin load branch B : fails immediately, unable to create "branches"

> Seriously? svn load won't load a dump file that references files that
> already exist? Or am I misunderstanding?

> I can't make a single dump file that contains branchA _and_ branchB because
> it's too large: it runs out of memory.

You can have incremental dumps. I.e. dump only a range of revisions. Even
single revision.

> I'm kind of stumped here: I can make dump files (using the scripts on tigris
> to migrate to svn) but I can't figure out how I can possibly make this work
> if I can't svnadmin load into a subdirectory of an existing directory.....

> Any suggestions?

What I said above. You took wrong approach to resolve your issue.
Instead of operating with revisions, what version control systems are for, you
brutally hacking the leaf pile, dividing ancestors from their descendants.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 19.11.2009, <15:57>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2420044
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-19 14:06:14 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.