Re: Importing all modules in a CVS repo with git-cvsimport
- From
- Alex Bennee <kernel-hacker@bennee.com>
- Date
- Mar 20, 2008, 08:30 UTC
- Message-ID
- <b2cdc9f30803200130w11669e51o5b273ee5eba7458@mail.gmail.com>
- In-Reply-To
- <alpine.LNX.1.00.0803191602110.19665@iabervon.org>
On 3/19/08, Daniel Barkalow <barkalow@iabervon.org> wrote:
Show 16 quoted lines
> On Wed, 19 Mar 2008, Alex Bennee wrote: > > > 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.
Unfortunately the repository is treated as one big ode dump place so I don't want to loose the information about changes across many dirs/modules. I shall try the "fakeing up" approach mentioned elsewhere and see where that gets me.
-- Alex, homepage: http://www.bennee.com/~alex/ Hire me? http://www.bennee.com/~alex/cv.php