CollabNet
Submerged - CollabNet's Subversion Blog
CollabNet Community

Categories

  • Administration (7)
  • Client Tools (13)
  • downloads (2)
  • General (36)
  • Non-Developers (2)
  • Subversion Client (31)
  • Subversion Events (3)
  • Subversion in the Enterprise (24)
  • Subversion Server (19)
  • Web/Tech (1)

Past 6 Months

  • June 2009 (2)
  • May 2009 (5)
  • April 2009 (2)
  • March 2009 (4)
  • February 2009 (2)
  • November 2008 (1)

Archives

All Archives...
RSS Syndicate this blog

Subversion connector for IBM Rational ClearCase

On the 30th of May we did another “Subversion in the Enterprise Webinar”. Quite a few people asked about migrating from ClearCase® to Subversion (Bob blogged about that already) and some asked specifically about synchronizing the two systems. For example:

“I work for a place that does contract development. Often we find people that are deeply entrenched with ClearCase, which works fine as long as you are working within the local environment. Is there a tool set that allows moving to and from Clear Case? We far and away prefer to work with Subversion, and only push back major releases to the customer’s ClearCase repository.”

There is a solution for this: you can download a ClearCase <> Subversion connector right here from openCollabNet, for free!

The connector synchronizes changes between IBM Rational ClearCase and a Subversion working copy. It provides two modes to synchronize data: from ClearCase to Subversion, and vice versa.

From ClearCase to Subversion: For the connector to work in this mode, you need to have two ClearCase views to clearly distinguish between modifications made:

  • A "ClearCase Reference View" which must match the Subversion working copy.
  • A "ClearCase Current View" containing the most recent changes made to the ClearCase VOB.

The connector gets the difference between a ClearCase - Reference View and the ClearCase - Current View, and synchronizes it with the Subversion working copy.

Export

When you export, the following will happen:

  • The connector will detect the difference in data between the two ClearCase views.
  • The file deleted (red), file added (blue) and file renamed (green) will be exported to the Subversion working copy and also directly committed to the Subversion repository.
  • The file whose content has been modified (Orange) will be updated only to the Subversion working copy. You need to manually commit it to a Subversion repository to synchronize all data.

From Subversion to ClearCase: In this mode, the connector brings in the changes made in the CollabNet Subversion working copy to a ClearCase view of your choice.

Import

When you import, the following will happen: The file deleted (red), directory added (blue), file renamed (green) and file whose content is modified (orange) in the Subversion working copy will be imported to the ClearCase view. You need to manually checkin the changes made in this view to the ClearCase VOB.

The connector can be used with stand-alone Subversion as well as with CollabNet Enterprise Edition and SourceForge Enterprise Edition. If you want more information about the connector, download it and read the included manual (most of the above is from there). To get community support for the connector, go to our connectors project on openCollabNet. Support is also available directly from CollabNet.

Next to the ClearCase connector we have two free connectors for HP Quality Center. Our Subversion connector allows you to version test plans in Subversion and the CollabNet Enterprise Edition connector bi-directionally synchronizes defect information to ensure that developers and testers work on the same data. You can download datasheets for all connectors from our corporate web site.

Guido Haarmans

About the Author

Guido Haarmans is Director Developer Relations at CollabNet, he works on openCollabNet and CollabNet technology partner programs.
Permalink
Categories: Subversion in the Enterprise

Technorati Tags: CollabNet, Rational ClearCase, Subversion, SVN

TrackBack

TrackBack URL for this post: http://www.typepad.com/services/trackback/6a00d834515ac169e200e00983f3508833

Comments

How to get the Linux Version of the subversion connector?

Alexander Wolfson | August 16, 2007 at 04:04 PM

Hi Alexander Wolfson,

Our connector works with Subversion installed on Windows or Linux and ClearCase installed on Windows. The connector is installed on the same Windows server where ClearCase is installed. At present, we do not support a version of the connector that can run on Linux. -- Karthi

Karthi Swaminathan | August 17, 2007 at 02:44 AM

The manual for the connector says the opposite - it says "To install and
configure this connector on a linux platform contact the CollabNet Services
Team" - sure sounds to me that you have a linux version, I just can't figure
out how to contact the "CollabNet Services Team" to get a copy...

Ken Wood | August 28, 2007 at 02:29 PM

The manual for the connector says the opposite - it says "To install and
configure this connector on a linux platform contact the CollabNet Services
Team" - sure sounds to me that you have a linux version, I just can't figure
out how to contact the "CollabNet Services Team" to get a copy...

Ken Wood | August 28, 2007 at 02:29 PM

Hi Ken,

Thanks for pointing out the discrepancy in the manual. We will update it. Our earlier version of ClearCase connector had a linux version. It was more of a custom install/configuration script. But we no longer support that.

You can contact our support department at http://www.collab.net/support/index.html and services department at http://www.collab.net/about/contactus/

Karthi Swaminathan | August 30, 2007 at 04:13 AM

Hi,
When I am trying to import from svn to cc, i am getting the following error:

ERROR: The working copy either has local modifications or is a mixed revision working copy.
Suggestions?

I don't have local modifications...what is mixed revisions?

Juan

Juan Venegas | July 01, 2008 at 08:59 AM

Juan,

Its because your Subversion working copy is under mixed revision. Do a svn update on the root of your subversion working copy, then run clearsvn import again.

Juan, plz use the clearsvn discussion forum for any further clarification.
http://connectors.open.collab.net/ds/viewForumSummary.do?dsForumId=40

thanks

Alexander Thomas | July 08, 2008 at 05:24 AM

Post a comment

If you have a TypeKey or TypePad account, please Sign In

You are currently signed in as (nobody). Sign Out

  • ©2008 CollabNet Corporation
    • Site Feedback
    • Terms of Use
    • Privacy Policy
    • Copyright & Trademark