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

Re: git-svn trouble finding all branches/tags

From
EWEric Wong <normalperson@yhbt.net>
Date
May 11, 2008, 08:51 UTC
Message-ID
<20080511085145.GD23929@untitled>
In-Reply-To
<20080506201602.GB10561@marlowe.visv.net>
Michael Fischer <michael@visv.net> wrote:
Show 23 quoted lines
> 
> Scenario is initialization  of a local git repo from a remote
> SVN repo.
> 
> 
> $ git svn init -s https://svn.our.office/projname
> 
> $ git svn fetch
> .........................
> 
> Now, git branch -r shows trunk, one branch, 3 tags. There ought to be
> 7 branches, and about 20 tags.
> 
> If I go into .git/svn/.metadata and change the 
> 
> branches-maxRev
> tags-maxRev 
> 
> values to something much larger than anything in SVN (e.g. 1000000), 
> and repeat 'git svn fetch', lather, rinse repeat, then I eventually
> have all the branches and tags.
> 
> Surely this isn't the way its supposed to happen?

No, I've never actually heard of this problem. Which version of git-svn are you using?

Without further details about your repository layout, I'm not sure how to help you, either. Is there anything non-standard in your layout or how the repository was created?

Thanks.
-- 
Eric Wong
Previous: Michael FischerNext: Michael Fischer
Message 2 of 3 in “git-svn trouble finding all branches/tags”
  1. Michael FischerMay 6, 2008
  2. Eric WongMay 11, 2008
  3. Michael FischerMay 11, 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.