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

RE: Re: SVN database is a lot bigger than PVCS database

From: Bob Archer <bob.archer_at_amsi.com>
Date: Wed, 22 Jul 2009 15:07:13 -0400

> > If you used the Polarion importer than there is a setting in the
> properties files to have it use svn copy to make tags and branches.
> Check to see if you used it. If you didn't you may want to consider
> redoing your migration and replaying the changes from when you started
> using SVN into it.
>
> Is it possible to "replay" all the changes automatically? We've been
> using it for more than 6 months.

I believe it is yes. When you do your svn dump starting at the first revisions after your import. Do an incremental dump. Then redo your import making sure to use svn cp for tags/branches... or perhaps leave tags (labels as PVCS calls them) out of the dump. Import that export into a clean repository then import your incremental dump on top of it.

Of course try this on a new/clean repository... YMMV, etc.

Another option would be to do a dump and filter out all the tags and re-load the filtered dump. Once you are there go into SVN and recreate the tags using svn copy after the fact.

One of the problems with importing PVCS labels is that you label a file which is much different than the way svn works. Your PVCS import may need to be done much more hands on. Importing everything to a point in time, tag and then continue on.

A final option would be to just do a dump from the point at your import and reload this into a clean repository. All your legacy stuff will still be in SVN but you would just keep that for read-only use if there was a need for it. Then going forward you will have a much smaller repository that started from the point when you moved from PVCS to SVN.

Hth,
BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2374538

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-22 21:08:14 CEST

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.