From: Andy Whitcroft Date: Mon, 04 Jun 2007 08:58:18 GMT Subject: Re: [PATCH] cvsimport: add support for new style remote layout Message-ID: <4663D42A.7090201@shadowen.org> In-Reply-To: <7vvee4n1et.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Andy Whitcroft 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 ' to set the remote name for >> this import. When this option is specified branches are named >> refs/remotes//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//HEAD which seems appropriate. -apw