Skip to content

Restore Delta direction after a failed reverse application - #677

Open
tony1233200 wants to merge 1 commit into
qlustered:devfrom
tony1233200:fix-657-bidirectional-delta-failed-reverse
Open

tony1233200 wants to merge 1 commit into
qlustered:devfrom
tony1233200:fix-657-bidirectional-delta-failed-reverse

Conversation

@tony1233200

Copy link
Copy Markdown

When reverse application of a bidirectional Delta raised DeltaError, the forward/reverse diffs were left swapped, so the delta stayed reversed and a subsequent forward application failed too. Restore the swap in a finally block so the delta remains usable after the failed reverse.

Fixes #657

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