Skip to content

fix: automerge dies when encounters local changes not on remote#67

Merged
david-alpert-os merged 1 commit intomasterfrom
fix/reset-local-working-copy-after-failure-to-push
Mar 17, 2026
Merged

fix: automerge dies when encounters local changes not on remote#67
david-alpert-os merged 1 commit intomasterfrom
fix/reset-local-working-copy-after-failure-to-push

Conversation

@david-alpert-os
Copy link
Contributor

if the push of a backmerge fails then the local working copy was left with commits on the current branch ahead of origin

we are now capturing that as an error and moving on to try the next backmerge; however that fails now because there is no clean working copy.

this commit should reset the failed merge back to match origin and leave the working copy in a better state to try the next backmerge

MP-1092

if the push of a backmerge fails then the local working copy
was left with commits on the current branch ahead of origin

we are now capturing that as an error and moving on to try the
next backmerge; however that fails now because there is no
clean working copy.

this commit should reset the failed merge back to match origin
and leave the working copy in a better state to try the next
backmerge

MP-1092

Co-Authored-By: Greg Lary <greg.lary@opensesame.com>
Co-Authored-By: Zig Rosinski <zig.rosinski@opensesame.com>
@david-alpert-os david-alpert-os merged commit 4583679 into master Mar 17, 2026
1 check passed
@david-alpert-os david-alpert-os deleted the fix/reset-local-working-copy-after-failure-to-push branch March 17, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant