From: Kay Sievers Date: Tue, 03 May 2005 00:28:59 GMT Subject: Re: Anyone working on a CVS->git converter? Message-ID: <1115080139.21105.18.camel@localhost.localdomain> In-Reply-To: <4275857A.1050106@zytor.com> On Sun, 2005-05-01 at 18:42 -0700, H. Peter Anvin wrote: > Anyone working on a CVS->git converter? I'd like to move klibc > development into git. I tried it with two completely stupid scripts and the nice cvsps. Here is the tree to browse: http://ehlo.org/~kay/git/gitweb.cgi?p=klibc.git;a=log In the CVS repo directory export patchsets as individual patches with a header containing metadata: cvsps -x -b HEAD -g -p ../../patches/ split exported patches into individial files like author data, log, file list: for i in `seq 1 546`; do ../parse-cvsps-patch.pl ../patches/$i.patch ;done apply it to an completely empty git-repo: for i in `seq 1 546`; do ../apply.sh ../patches/$i.patch ;done Stupid scripts are attached. cvsps is here: http://www.cobite.com/cvsps/ Kay