On Fri, 2005-05-20 at 13:50 -0700, H. Peter Anvin wrote: > Linus Torvalds wrote: > > > > Oh, btw, I notice that you moved klibc over to git - care to share your > > cvs->git script (I assume you scripted it ;)? That would seem to be an > > obvious addition to the core stuff.. > > > > Actually, Kay did the conversion... the scripts are clearly very > cantankerous, because if *I* run them -- I tried -- they don't work! > Since it's Kay's work, I'll leave them to him, but I would definitely > love to move more of my CVS repos over to git, especially syslinux. Here we go; These scripts are just a quick hack, I just wanted to know how nice the stupid cvs file history can be converted to git-committs. It exports the CVS repo with the help of the nice cvsps to individual patches. (Every patch contains something like a "ChangeSet" by searching for file revisions with the same checkin-date) Then the patches with the header are split into individual files for committing it into git (similar to Linus' git-mbox-tools). If we reach a CVS tag with a patch during sequential patching, the script throws away the whole current working tree and checks the revision out of CVS. This way we make sure, that the git-tag matches tree CVS has tagged. (I've encountered two mismatches in the "patch-chain" with the CVS revision-tag. These corrections are hardcoded into the script. :) For every CVS revision-tag a git-tag without any content except the name is created. And the klibc-repo was created with a patched git-commit to fake the commit date with the author date. :) Good luck with it, Kay - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2.1.8 : 2005-05-21 08:05:14 EST