0

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:

Detached root

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.

aateeque
  • 2,161
  • 5
  • 23
  • 35

1 Answers1

0

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.

Mykola Gurov
  • 8,517
  • 4
  • 29
  • 27