Re: Working with Git and CVS in a team.
- From
Jeff King <peff@peff.net>
- Date
- Jun 13, 2008, 20:55 UTC
- Message-ID
- <20080613205525.GA21165@sigill.intra.peff.net>
- In-Reply-To
- <200806132247.03947.m1stocke@hsr.ch>
On Fri, Jun 13, 2008 at 10:47:03PM +0200, Mirko Stocker wrote:
> Hm, I've tried that, but it doesnt seem to work.. git-proj is a bare > repository, and git-cvsimport always creates a new .git in it. I'm using > the -C option to specify the target. Is anything else needed?
Ah, I hadn't thought of that. Apparently git-cvsimport doesn't understand bare repos. There is even a Debian bug reported:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472873
You might be able to hack around it with:
mkdir bare.git && (cd bare.git && git init) mkdir cvsimport-hack && ln -s ../bare.git cvsimport-hack/.git git cvsimport -C cvsimport-hack
-Peff