-
Notifications
You must be signed in to change notification settings - Fork 302
Description
Hello,
I trying to bring gitlab support to copybara for my company, but in the process I discovered issue with git -> git synchronization.
In default configuration merges are squashed to single commit and in branch based workflows this disrupts whole git history, therefore I tried first_parent=False option in git.origin and it copies both sides of merge as it should, but it isn't able to copy merges, as they are treated as usual commits and they usually doesn't contain any changes.
This disrupts closing github PR when branch is merged on gitlab side and it caused also merge conflicts when on other branches after one of them was merged.
I tried to find a way to fix that in cohybara source code, but it looks like isMerge info is lost many calls up in stack trace before it reaches writer.