You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Olivier Antoine <ol...@gmail.com> on 2013/11/15 23:47:07 UTC

Migrating ClearCase data to Subversion

Hi,

I could not find a tool or an automated way to migrate ClearCase vobs to
SVN repositories. I guess there is not any perfect tool to do this.

I don't think I can use timestamp to build revisions, like for migration
cvs to svn.

On the other hand, the real need is to migrate main to trunk, to migrate
the other branches, probably just for the interesting file/directory
versions - the labelelled ones. I have to migrate the ClearCase labels to
SVN tags.
I guess it is not possible to migrate the merge history.

Could you help, please ?

Olivier

Re: Migrating ClearCase data to Subversion

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
I've wound up doing a stack of source control migrations to SVN. I may
be in a minority, but in general, *don't*. Do a flat export of the
last timestamped copy, and add them to a Subversion tag in one step.
Lock the tag, and then set a new trunk from that tag. This allows a
number of very useful features:

    * Discard old material, especially with passwords or bulky binary
images, before putting it in Subversion. Subversion does not support
clearing out sensitive or inappropriately recorded data.
   * Update the layout first to Subversion's trunk, tags, and branches
to create your new workflow.
   * Set the "svn:eol" and "svn:keywords" consistently at "add" time.

You can then keep the old ClearCase server around, in read-only mode,
if anyone feels a burning need for the old logs. But for most
projects, preserving that amount of logs in the Subversion repository
itself turns into a lot of engineering time better spent elsewhere.

Note that this is *my* favored approach: others consider the old logs
and layouts and individual merges to be vital and may have better
suggests for keeping it.


On Fri, Nov 15, 2013 at 5:47 PM, Olivier Antoine
<ol...@gmail.com> wrote:
> Hi,
>
> I could not find a tool or an automated way to migrate ClearCase vobs to SVN
> repositories. I guess there is not any perfect tool to do this.
>
> I don't think I can use timestamp to build revisions, like for migration cvs
> to svn.
>
> On the other hand, the real need is to migrate main to trunk, to migrate the
> other branches, probably just for the interesting file/directory versions -
> the labelelled ones. I have to migrate the ClearCase labels to SVN tags.
> I guess it is not possible to migrate the merge history.
>
> Could you help, please ?
>
> Olivier
>

Re: Migrating ClearCase data to Subversion

Posted by Olivier Antoine <ol...@gmail.com>.
Thanks All for your help,

I will try the Polarion tool,

I am also looking at simplified ways to do the job.

I have to propose a solution for projects asking to migrate from CC to SVN,
on Unix and Windows.

And we cannot let the ClearCase vob live forever - maybe one year, not
more, because ClearCase is expensive, and we cannot administer two
repositories for every project.

Most of the time, projects are not interested to keep all SCM details, they
don't ask for preserving change dates, authors or even comments (afaik).
Projects would like to get the versions that were delivered, the major
versions and especially the version running in production.

I don't think there is real sensitive data, but there is surely binaries -
I cannot avoid them. Vob's size is sometimes big, tens of Gb, or more.

They need to get in the new repository :
- The main=trunk branch,
- All the other significant integration branch,
- And the label/tag lines on these main and integration branches.

The project will select : the branches and the labels to migrate.

I'd like to preserve :
- The relation (svn copy) between branches, and between labels/tags and
branches.
- The refactoring from a version to another on a same branch (svn mv/rm).

I think I will create one SVN revision per label/tag.
I have to read again the manual about svn properties to understand what to
do !

RE: Migrating ClearCase data to Subversion

Posted by Bob Archer <Bo...@amsi.com>.
Did you try this tool. It is what I used to migrate from PVCS.

http://www.polarion.com/products/svn/svn_importer.php

BOb


From: Olivier Antoine [mailto:oliviera201304@gmail.com]
Sent: Friday, November 15, 2013 5:47 PM
To: users@subversion.apache.org
Subject: Migrating ClearCase data to Subversion

Hi,
I could not find a tool or an automated way to migrate ClearCase vobs to SVN repositories. I guess there is not any perfect tool to do this.
I don't think I can use timestamp to build revisions, like for migration cvs to svn.
On the other hand, the real need is to migrate main to trunk, to migrate the other branches, probably just for the interesting file/directory versions - the labelelled ones. I have to migrate the ClearCase labels to SVN tags.
I guess it is not possible to migrate the merge history.
Could you help, please ?
Olivier