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

Re: Question about git-svn

From
EWEric Wong <normalperson@yhbt.net>
Date
Sep 5, 2009, 06:09 UTC
Message-ID
<20090905060940.GB22272@dcvr.yhbt.net>
In-Reply-To
<b4abed330908310601h197f8909h8f626e918f8e5090@mail.gmail.com>
martin liste larsson <martin.liste.larsson@gmail.com> wrote:
> I have a problem using git-svn. Is this the right place to ask then?
Hi, Yes, feel free to Cc me directly as well.
Show 6 quoted lines
> I have followed Andy Delcambre's
> http://herebeforeatreplies.com/2008/03/04/git-svn-workflow.html, but
> it seems that not all my tags and branches are being imported from svn
> to (local) git. That is, 'git branch -a' gives much less output (about
> half) of the combination 'svn list http://repos/branches' and 'svn
> list http://repos/tags'.
Are there branches/tags in subdirectories?

As in, do you have stuff in http://repos/branches/foo/* as well as just http://repos/branches/* ?

You'll need git 1.6.4 to handle that with multiple branches entries:
before:
	[svn-remote "svn"]
		branches = project/branches/*:refs/remotes/*
after:
	[svn-remote "svn"]
		branches = project/branches/*:refs/remotes/*
		branches = project/branches/foo/*: refs/remotes/foo/*
> What's missing seems to be the newest
> branches and tags.
Just checking the obvious, you are running "git svn fetch", right?
-- 
Eric Wong
Previous: martin liste larssonNext: Martin Larsson
Message 2 of 3 in “Question about git-svn”
  1. martin liste larssonAug 31, 2009
  2. Eric WongSep 5, 2009
  3. Martin LarssonSep 15, 2009

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.