threads / discuss / 19978

Team Coherence to Git conversion

Subject: Team Coherence to Git conversion

## tl;dr

3 messages between Jun 30, 2009 and Jul 1, 2009.

replies: 2people: 2as markdown or json

Graeme Geldenhuys· Jun 30, 2009, 09:45 UTC · lore
We have a couple (actually around 20) projects sitting in Team Coherence repositories. Luckily they have very little history. Before I joined the company nobody used revision control software - just simple zip archives once a week (if that many).
Does anybody know of a tool that can convert a TC repository to Git? TC seems to be dying a slow dead, and I don't want our code to get trapped in proprietary software we can't access, a few years down the line.
Regards,
  - Graeme -
-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
Shawn O. Pearce· Jun 30, 2009, 14:41 UTC · re: Graeme Geldenhuys · lore

Re: Team Coherence to Git conversion

Graeme Geldenhuys <graemeg@gmail.com> wrote:
Show 9 quoted lines
> We have a couple (actually around 20) projects sitting in Team
> Coherence repositories. Luckily they have very little history. Before
> I joined the company nobody used revision control software - just
> simple zip archives once a week (if that many).
>
> Does anybody know of a tool that can convert a TC repository to
> Git? TC seems to be dying a slow dead, and I don't want our code
> to get trapped in proprietary software we can't access, a few years
> down the line.

Huh. TC reminds me of PVCS Version Manager. Lots of hype on the web page, but a tool from the early 1980s that still can't do anything useful. Hell, it might be a rebranded PVCS VM.

No, there aren't any existing import tools from TC, in fact probably nobody here has even heard of TC before. You are on your own to write an import tool.

You might want to look at using git-fast-import to handle the git side of the conversion, but you'll need to write your own script to mine the data out of TC and format it for git-fast-import. Look at contrib/fast-import for some examples, and the fast-import man page is rather extensive.

-- 
Shawn.
Graeme Geldenhuys· Jul 1, 2009, 08:00 UTC · re: Shawn O. Pearce · lore

Re: Team Coherence to Git conversion

Shawn O. Pearce wrote:
> 
> Huh.  TC reminds me of PVCS Version Manager.  Lots of hype on

Team Coherence was quite popular with the Delphi developers, seeing that it was written in Delphi (Object Pascal). Anyway, looking at it even compared to Subversion, it is a weird way of doing revision control. Revisions are based on a per file basis and not as an atomic commit (snapshot of whole repository status) like SubVersion or Git does. If you wanted a snapshot of a point in time of the whole repository, you had to create a Label. :-( Ideas change over time I guess. :-)

> nobody here has even heard of TC before.  You are on your own to
> write an import tool.
> You might want to look at using git-fast-import to handle the git

No problems. And thanks for the hint on git-fast-import. I'll read up on that a bit later.

Regards,
  - Graeme -
-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

← back to recent threads