git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Importing all modules in a CVS repo with git-cvsimport

From
ABAlex 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
Previous: Daniel BarkalowNext: Jeff King
Message 3 of 8 in “Importing all modules in a CVS repo with git-cvsimport”
  1. Alex BenneeMar 19, 2008
  2. Daniel BarkalowMar 19, 2008
  3. Alex BenneeMar 20, 2008
  4. Jeff KingMar 19, 2008
  5. Alex BenneeMar 20, 2008
  6. Jeff KingMar 20, 2008
  7. Robin RosenbergMar 20, 2008
  8. Alex BenneeMar 20, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.