My goal was to migrate svn
to git
and keep trunk
and some directly diverged branch/A
, plus their merge history. Additionally syncing between git
and svn
was required.
I already managed to create single branches in git for trunk
and branch/A
. Individual commit history for each of them is also there and syncing works. Reference to achieve this: https://gist.github.com/sillage/b1e83eae1249ad1ab0dc
Now my problem is that both have their independent history with no information when trunk got merged into branch/A
. I only see the initial diverge of branch/A
from trunk
but not any merges from trunk
into branch/A
later on, which where done in svn
.
Is there any chance to mirror these missing merges in my git
repository?
EDIT: I would like to reflect the merges done in svn
in the mirrored branches in git
. So if svn/trunk@commit42
was merged into svn/branch/A@commit43
I would like to reflect it in git
. This should result in a connection from git/trunk@commit42
to git/branch/A@commit43
.