Skip to contentSkip to conversation

Team Coherence to Git conversion

DISCUSSION Graeme Geldenhuys 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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 -

Signature · 2 lines
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
#1 lore raw
Quoted 9 lines · Graeme Geldenhuys

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.

Signature · 1 line
Shawn.
#2 lore raw
Quoted 2 lines · Shawn O. Pearce

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. :-)

Quoted 3 lines

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 -

Signature · 2 lines
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/