Description
This started as a comment in a PR, but seems worth tracking separately: when pushing Miri history to rustc, I am encountering "rejecting merge with 2 parents". The first example of this occured when pushing Miri (subrepo) commit ff0f5b39d27aaabdcd30bdb3c540583b19a05354 to Rust (monorepo) commit b1ab3b738ac718da74cd4aa0bb7f362d0adbdf84.
I worked around this with a hack, and also supplied a testcase reproducing the problem.
@christian-schilling suggested a better alternative to the hack, however that did not help for the Miri case -- looks like the history there is still more complex than in the testcase.
Meanwhile, the merge created with my hack has been merged into the Rust repo, and I am attempting the next push, which again leads to the same error:
remote: response from upstream:
remote: rejecting merge with 2 parents:
remote: "Auto merge of #2618 - RalfJung:rustup, r=RalfJung"
remote: 1) "Auto merge of #2616 - RalfJung:rustup, r=RalfJung"
remote: 2) "bless clippy"
This is when pushing Miri commit 9d38f807447053ba666220e86305ac4123da905b to Rust commit d49e7e7fa13479c11a3733824c78e280e391288b. And unfortunately, this time my hack does not work -- it creates a totally bogus result with huge diffs to regular rustc master when being merged.