Hand-rolling migration to Git
- From
Peter Karlsson <peter@softwolves.pp.se>
- Date
- Mar 25, 2008, 10:03 UTC
- Message-ID
- <Pine.LNX.4.64.0803251056570.8472@ds9.cixit.se>
Hi!
I am looking for documentation on how to hand-roll a conversion to Git, but I keep getting lost in the maze of similar-looking man pages. Is there a tutorial, howto, or perhaps even just a list of recommended man pages to read on importing project changes to Git?
I have projects of two different kinds that I need to import:
1. The "make a copy of the source code directory and edit the new copy" source management system. I need to be able to import one directory at a time, each describing a version controlled state. The date stamp on the commits should probably be the most recent file in each directory.
2. A piece of software using PVCS (a RCS-like version control system with added support for parallel development (using a locking model)). I have a complete "trail file" which lists all commits done to the repository in chronological order since the repository was created, and can use that as a base. Since it has no concept of an atomic commit, I need to semi-manually join commits by walking the trail file and comparing lock sets, time stamps, commit messages and authors.
I can probably make the output from (2) look like from (1), so I basically just need to find a pointer to information on how to (re-)create the history with Git.
-- \\// Peter - http://www.softwolves.pp.se/