I migrated an svn repository's trunk to git. I then made some commits to the git repo.
I am now migrating an old svn branch to the new git repo.
To do this I added svn-remote.url
and svn-remote.fetch config
to .git/config
. When I now do git svn fetch
and subsequently checkout using git svn checkout
I get detached tree in SourceTree:
The right most purple branch is as if its without a root, whereas it should branch off just where the other branch is branching from.
From the comments it looks like the --no-metadata
git-svn key was used which erases the data from which it could build proper tree. Don't use that key if you plan to keep svn synced in the future.