git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Anyone working on a CVS->git converter?
@ 2005-05-02  1:42 H. Peter Anvin
  2005-05-02 16:11 ` Juliusz Chroboczek
  2005-05-03  0:28 ` Kay Sievers
  0 siblings, 2 replies; 3+ messages in thread
From: H. Peter Anvin @ 2005-05-02  1:42 UTC (permalink / raw)
  To: Git Mailing List

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

	-hpa

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Anyone working on a CVS->git converter?
  2005-05-02  1:42 Anyone working on a CVS->git converter? H. Peter Anvin
@ 2005-05-02 16:11 ` Juliusz Chroboczek
  2005-05-03  0:28 ` Kay Sievers
  1 sibling, 0 replies; 3+ messages in thread
From: Juliusz Chroboczek @ 2005-05-02 16:11 UTC (permalink / raw)
  To: git

> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Anyone working on a CVS->git converter?
  2005-05-02  1:42 Anyone working on a CVS->git converter? H. Peter Anvin
  2005-05-02 16:11 ` Juliusz Chroboczek
@ 2005-05-03  0:28 ` Kay Sievers
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2005-05-03  0:28 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Git Mailing List

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

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

[-- Attachment #2: apply.sh --]
[-- Type: application/x-shellscript, Size: 564 bytes --]

[-- Attachment #3: parse-cvsps-patch.pl --]
[-- Type: application/x-perl, Size: 1528 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-03  0:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02  1:42 Anyone working on a CVS->git converter? H. Peter Anvin
2005-05-02 16:11 ` Juliusz Chroboczek
2005-05-03  0:28 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).