git-svn: preserving merges across two different git-svn repos -
we have been using workflow @ work several months svn developers create svn fix branches merged integration branch using git , committed svn, merge @ time, dcommit. in workflow, there has been single git-svn repo doing merge work.
this workflow has worked pretty , git merges faithfully preserved in original git-svn repo.
however, have decided spread merging workload across number of users, each of has own git-svn repo. unfortunately, finding merges performed 1 git-svn user (but not always) appear single parent commits in git-svn repo of other user instead of looking 2 parent merges.
loss of merge history plays havoc history analysis , causes unnecessary merge conflicts since git can no longer identify correct merge-base, if merges parents had been preserved across repositories.
does have practices avoid circumstances cause merge history corrupted in 1 or more git-svn repos sync common svn repo?
i not sure causes problem, have found acceptable workaround recreate merges in git use of grafts per technique described here:
fixing svn merge history in git repositories
although haven't bothered filter branch yet not convinced plays nice svn rev maps git-svn uses track mapping between svn , git commits.
Comments
Post a Comment