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

Re: [PATCH] Add SVN->Git conversion example to documentation

From
HOHeikki Orsila <shd@modeemi.fi>
Date
Jun 14, 2008, 21:50 UTC
Message-ID
<20080614215048.GO10527@jolt.modeemi.cs.tut.fi>
In-Reply-To
<20080614190648.GF29404@genesis.frugalware.org>
On Sat, Jun 14, 2008 at 09:06:48PM +0200, Miklos Vajna wrote:
Show 7 quoted lines
> On Sat, Jun 14, 2008 at 09:09:29PM +0300, Heikki Orsila <heikki.orsila@iki.fi> wrote:
> > +------------------------------------------------------------------------
> > +# Convert all branches of an SVN repository to a Git repository:
> > +
> > +	git svn clone --no-metadata -A authors.txt SVN_URL foo.git
> 
> Don't you need -s here?
It seems not.
Show 7 quoted lines
> 2) I would mention that one still needs a trick if he/she wants to allow
> others to clone this repo, with something like:
> 
> git config remote.origin.url .
> git config remote.origin.fetch +refs/remotes/tags/*:refs/tags/*
> git config --add remote.origin.fetch +refs/remotes/*:refs/heads/*
> git fetch
Will add.
-- 
Heikki Orsila
heikki.orsila@iki.fi
http://www.iki.fi/shd
Previous: Miklos Vajna
Message 3 of 3 in “Add SVN->Git conversion example to documentation”
  1. Add SVN->Git conversion example to documentationHeikki Orsila, Jun 14, 2008
  2. Miklos VajnaJun 14, 2008
  3. Heikki OrsilaJun 14, 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.