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

Re: Migration from MS VSS to Subversion

From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-09-14 07:51:25 CEST

On Sep 13, 2006, at 8:21 PM, Gavin Lambert wrote:

> Quoth Robert Graf-Waczenski <mailto:rgw@lsoft.com>:
>> We have been using VSS for almost seven years now and the repository
>> appears stable and consistent but has grown beyond 7 GB now mostly
>> due to our habit of creating branches with physical repository copies
>> which are of course *not* cheap and therefore occupy lots of physical
>> space - one major reason to think about migrating to svn.
> [...]
>> The currently available migration tools create a dump file that i can
>> import to subversion, potentially piped and filtered via
>> svndumpfilter.
>>
>> Is there any chance to achieve the structure sketched above (with the
>> "trunk" and "branches" subfolders below each component's own folder
>> and with branches created as correct svn cheap copies) and still have
>> the same history information that we have in VSS?
>>
>> Or do we have to create the subversion repository in a folder
>> structure that is initially identical to what we had in VSS and then
>> move stuff around?
>
> Unless you write something that'll manipulate the dump file for
> you, any
> migration tool will most likely produce a dump that contains expensive
> copies, same as your original VSS repository. (VSS doesn't know the
> difference, so it can't tell the migration tool.)
>
> So if you really want the history and branches retained (and you don't
> feel comfortable writing your own migration logic to tweak the dump
> file), then you'll need to manually set up your v1 structure, import
> that, then copy over to a branch, replace with v2 code, commit,
> copy to
> branch, etc. Fairly time consuming and error prone, I'd imagine.

You can use svn_load_dirs.pl to make that process much easier. It
even helps you track renames of files and directories in the v
{1,2,...} into the Subversion repository.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 14 07:52:05 2006

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.