On Wed Jan 13 11:53 , ThomasK  sent:

>After your posting I've tried again, what I've done to convert a CVS 
>repo to git. So I'll give you a script, which works on my box. If it 
>works, you get a base for more experiments. If not, then I think, 
>something is wrong with your git.
>
>Maybe the problem is, that you try to read in CVS repo in a existing git 
>repo. I remember, that this wasn't working - why? I don't know. So the 
>way is to convert CVS repo in a fresh GIT repo at first. And from this 
>repo you can pull it into any other GIT repo. That was my way to solve 
>the problem.
>
>#!/bin/bash
># set the repo name for a not existing repo (aka directory!)
>GIT_REPO=simulavr-from-cvs
># the git (!) branch name for the converted repo
>BRANCH_NAME=cvs-upstream
># CVS server url
>SURL=pserver:[email protected]:/sources/simulavr
># create the directory for git repo
>mkdir $GIT_REPO
># change wd there
>cd $GIT_REPO
># and lets dance ... (it takes a while ...)
># this converts simulavrxx path!
>git cvsimport -o $BRANCH_NAME -k -i -m -v -d:$SURL simulavrxx

It seems to have worked, though I don't know why.
git help cvsimport didn't mention a colon after the -d.
If this worked, how do we get simulavr and simulavrxx into the same repository?
I can't figure out how to check anything out.
It seems to be in the same state as my previous effort.
See attachment.

---
Michael Hennebry
[email protected]
"War is only a hobby."
---- Msg sent via CableONE.net MyMail - http://www.cableone.net

Attachment: mk_git.txt.bz2
Description: Binary data

_______________________________________________
Simulavr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to