Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: Anyone working on a CVS->git converter?

From: Kay Sievers <hidden>
Date: 2016-06-15 22:41:55

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help