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

Re: [PATCH] cvsimport: add support for new style remote layout

From
Jeffrey C. Ollie <jeff@ocjtech.us>
Date
Jun 6, 2007, 11:52 UTC
Message-ID
<1181130744.3661.7.camel@lt21223.campus.dmacc.edu>
In-Reply-To
<3a477a76f6c5396feee452678fb8110c@pinky>
On Wed, 2007-05-30 at 01:56 +0100, Andy Whitcroft wrote:
Show 12 quoted lines
> cvsimport creates any branches found in the remote CVS repository
> in the refs/heads namespace.  This makes sense for a repository
> conversion.  When using git as a sane interface to a remote CVS
> repository, that repository may well remain as the 'master'
> respository.  In this model it makes sense to import the CVS
> repository into the refs/remotes namespace.
> 
> Add a new option '-r <remote>' to set the remote name for
> this import.  When this option is specified branches are named
> refs/remotes/<remote>/branch, with HEAD named as master matching
> git-clone separate remotes layout.  Without branches are placed
> ion refs/heads, with HEAD named origin as before.

I've run over 5GB of cvs imports through git-cvsimport with this patch and it's worked very well for me...

Jeff
Previous: Andy Whitcroft
Message 7 of 7 in “cvsimport: add support for new style remote layout”
  1. cvsimport: add support for new style remote layoutAndy Whitcroft, May 30, 2007
  2. James BowesMay 30, 2007
  3. Junio C HamanoJun 3, 2007
  4. Andy WhitcroftJun 4, 2007
  5. 1/2 cvsimport: update documentation to include separate remotes optionAndy Whitcroft, Jun 4, 2007
  6. 2/2 cvsimport: add <remote>/HEAD reference in separate remotes moreAndy Whitcroft, Jun 4, 2007
  7. Jeffrey C. OllieJun 6, 2007

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.