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

Re: Migration to SVN

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-06 12:07:39 CEST

On Oct 5, 2007, at 06:25, Giulio Troccoli wrote:

> I am working on a big project to migrate our source code from an old
> system (CMS running on VMS OS) to Subversion. As far as I know
> there are
> no tools on the like of cvs2svn that I can use (but if I'm wrong
> let me
> know please). So the migration has to be done manually.
>
> For legal reasons we support not only the latest version of our
> product
> but some older ones too, i.e. if a bug if found in, let's say,
> version 2
> then it will be fixed in version 2, 3 and 4 (given 4 is the latest).
> Therefore we need to keep a source tree for each supported version.
> What
> did, in CMS, and will, in SVN, happen is that a change in a file in
> version 2 is automatically merged into version 3 and 4. When version 5
> is released, the source for version 4 is copied to version 5. I don't
> know whether it's a cheap copy or not in CMS but I don't care. All
> this
> to say that there is a link between each version as one is,
> originally,
> a copy of the previous.
>
> What I am planning to do is the following (supposing we support
> version
> 1, 2, 3 and 4):
> - version 1 will be imported exactly as extracted from CMS
> - version 2 will be committed as if it was a massive change fix. To do
> this I plan to make a cheap copy of version 2 and then replace
> everything with what extracted from CMS. But, in version 2 I might
> have
> new files/directories been added as well as old files/directories been
> deleted. I'm planning to use svn add and svn delete to fix this
> situation and then commit the changes.
> - repeat the same steps for version 3 and 4
>
> Doing the migration this way I will save a lot of disk space and will
> retain the logical link between versions.
>
> Does anybody see any potential danger in this procedure? Has
> anybody any
> suggestions on how to improve the migration?

Sounds like a good plan. You can use the svn_load_dirs.pl script to
automate the process of importing versions 2, 3, and 4 while handling
the adds and deletes. See the book for more information.

http://svnbook.red-bean.com/en/1.4/
svn.advanced.vendorbr.html#svn.advanced.vendorbr.svn_load_dirs

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 6 12:10:15 2007

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.