Reputation: 12978
I converted a very large svn repository to a git repository with
git svn init svn/server/project --no-metadata
git svn fetch
This took the better part of two days to finish.
This repo should have quite a few branches but when I do "git branch" I get nothing but the master. They are listed under the branches directory, but shouldn't I see them with "git branch" as well?
"git branch -a" only shows master and remotes/git-svn.
Was it the --no-metadata switch that did this?
Upvotes: 0
Views: 146
Reputation: 28934
When initializing the git repository you need to use either the --trunk
, --branches
and --tags
options or the --stdlayout
option to git svn init
in order to tell it the path to the directories to the trunk
, branches
and tags
directories in the subversion repository.
See the manual page for git-svn for additional details.
Upvotes: 3