I have a subversion repository with a directory structure:
frontend
backend
+ a
+ b
In a other branch, someone had put the sub-folders a and b in the root directory and delete the other stuff (frontend, backend).
a
b
Now i have to merge this branch back into the trunk (backend-folder). How can I do that to dont lose the history from the branches? I use git to access and work with the subversion repository.
git-svnshould be able to import the history correctly considering it uses by default the--follow-parentoption:--follow-parentIf that does not work, making the right change (i.e. merging that branch in order to get back the original, already imported with
git-svn, directory structure) directly in SVN beforegit-svnit, as khmerbaise suggests in the comment, might be a good workaround.