# Anyone working on a CVS->git converter?

3 messages from 2005-05-02 to 2005-05-03. Participants: H. Peter Anvin, Juliusz Chroboczek, Kay Sievers.
Thread: https://gitlist.dev/t/428

## H. Peter Anvin, 2005-05-02 01:42

Subject: Anyone working on a CVS->git converter?
Message-ID: <4275857A.1050106@zytor.com>
URL: https://gitlist.dev/e/4275857A.1050106%40zytor.com

```
Anyone working on a CVS->git converter?  I'd like to move klibc 
development into git.

	-hpa

```

## Juliusz Chroboczek, 2005-05-02 16:11

Subject: Re: Anyone working on a CVS->git converter?
Message-ID: <7ioebtvc9s.fsf@lanthane.pps.jussieu.fr>
URL: https://gitlist.dev/e/7ioebtvc9s.fsf%40lanthane.pps.jussieu.fr
In-Reply-To: <4275857A.1050106@zytor.com>

```
> Anyone working on a CVS->git converter?

Not directly, but you might get your wish Real Soon Now.

I'm currently putting the finishing touches on commit support for
darcs-git.  Once that's finished, you should be able to run tailor
(the CVS to Darcs converter) over a Git repository.

So hold on for a few days, and drop me a mail if you don't hear from
me.

                                        Juliusz



```

## Kay Sievers, 2005-05-03 00:28

Subject: Re: Anyone working on a CVS->git converter?
Message-ID: <1115080139.21105.18.camel@localhost.localdomain>
URL: https://gitlist.dev/e/1115080139.21105.18.camel%40localhost.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

```
