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

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

From
Andy Whitcroft <apw@shadowen.org>
Date
Jun 4, 2007, 08:58 UTC
Message-ID
<4663D42A.7090201@shadowen.org>
In-Reply-To
<7vvee4n1et.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 16 quoted lines
> Andy Whitcroft <apw@shadowen.org> writes:
> 
>> 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.
> 
> Sounds good.  Docs?

Heh, yep if its something wanted then it needs docs. Will drop a couple of patches following this email. The first is the documentation updates. The second adds a HEAD link matching git-clone behaviour, and handily calling cvs HEAD remotes/<remote>/HEAD which seems appropriate.

-apw
Previous: Junio C HamanoNext: Andy Whitcroft
Message 4 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.