Re: Importing all modules in a CVS repo with git-cvsimport
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- Mar 19, 2008, 20:10 UTC
- Message-ID
- <alpine.LNX.1.00.0803191602110.19665@iabervon.org>
- In-Reply-To
- <1205951736.24610.3.camel@pitcairn.cambridgebroadband.com>
On Wed, 19 Mar 2008, Alex Bennee wrote:
Show 8 quoted lines
> Hi, > > I'm wanting to import the entirety of a CVS repository into git rather > than an individual module. However every approach I've tried to do this > fails as the underlying cvsps tool seems to only be able to deal with > modules rather than the whole project. > > Is there any invocation I could do that would do the whole import?
A for loop? I don't think it's possible to treat the modules as just subdirectories, but you can loop over the modules, importing each of them into a separate git repository and then, if you want, merge each of them into a new master repository with the "subdirectory" strategy.
-Daniel *This .sig left intentionally blank*