diff options
author | Michael Davis | 2022-12-03 03:09:08 +0000 |
---|---|---|
committer | GitHub | 2022-12-03 03:09:08 +0000 |
commit | bcdb475b71b0fbabce57344ac8d2575c23b1bbe0 (patch) | |
tree | 0714f3a4bf64caee607208b7b3a64409f1ad0f55 /runtime/queries/cairo/injections.scm | |
parent | dc00291b4888f7ffad43fd544259227d0dbbf6fb (diff) |
Fix transaction composition order in History::changes_since (#4981)
* Add a undo/redo split test case for crossing branches
* history: Switch up/down transaction chaining order
The old code tends to work in practice because, usually, either up_txns
or down_txns are empty. When both have contents though, we can run into
a panic trying to compose them all since they will disagree on the
length of the text. This fixes the panic test case in the parent
commit.
Diffstat (limited to 'runtime/queries/cairo/injections.scm')
0 files changed, 0 insertions, 0 deletions