forked from GothenburgBitFactory/taskchampion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAKING] Update undo support to use Operations
This updates the existing "undo" support to use `Operations`, while making some additional changes to look forward to more general undo support (GothenburgBitFactory#427 being the next step on that journey). Breaking changes: - `Replica::get_undo_ops` is now `Replica::get_undo_operations` and returns an `Operations` value. It now returns the operations in the order they were applied, and includes the undo point operation, if one exists. - `Replica::commit_undo_ops` is now `Replica::commit_reversed_operations` and takes an `Operations` value. It now expects an `Operations` value as provided by `get_undo_operations`.
- Loading branch information
Showing
4 changed files
with
100 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters