Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: git-svn trouble finding all branches/tags

From: Eric Wong <hidden>
Date: 2016-06-15 22:44:35

Michael Fischer [off-list ref] wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help