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

importing cvs logical modules

From
Geoff Russell <geoffrey.russell@gmail.com>
Date
May 25, 2006, 04:48 UTC
Message-ID
<93c3eada0605242148u4656bc31p96d84a16703f0fe0@mail.gmail.com>
Hi,

Firstly, the code to automagically repack a git repository on-the-fly during a big load has solved one of my problems - thanks, it is great. Unfortunately it has bought me to showstopper number 2.

- cvs modules.

cvs allows you to define modules which rearrange the physical repository into a different logical structure. This sounds great and we use it, but it gives us other headaches because "cvs update" doesn't always do the right thing with these modules.

Furthermore cvsps doesn't appear to handle this module feature at all and is tricked into thinking that rearranged directories come from somewhere else and issues its "file xxx doesn't match strip_path" message.

I have tried to hack cvsps to go around the problem, but without success.

Another alternative that I thought might be easier would be to unload the cvs repository in clean pieces - each being a git repository. Then to join the git repositories together in the desired way. I think this would be generally useful and not just solve my problem.

e.g. Suppose I have 3 git repositories: Progs, xxxx, yyyy
           Progs/.git
           xxxx/.git
           yyyy/.git
I'd like to make 1 git repository Progs with xxxx and yyyy as child trees.
           Progs/.git
           Progs/xxxx
           Progs/yyyy
Does this sound useful to anyone else, or is it already possible?

Cheers, Geoff Russell.

Next: Jakub Narebski
Message 1 of 7 in “importing cvs logical modules”
  1. Geoff RussellMay 25, 2006
  2. Jakub NarebskiMay 25, 2006
  3. Junio C HamanoMay 25, 2006
  4. Geoff RussellMay 25, 2006
  5. Martin LanghoffMay 25, 2006
  6. Geoff RussellMay 25, 2006
  7. Jakub NarebskiMay 25, 2006

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.