Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix undo/redo merge bugs #885

Merged
merged 5 commits into from
Feb 9, 2021
Merged

Fix undo/redo merge bugs #885

merged 5 commits into from
Feb 9, 2021

Conversation

corranwebster
Copy link
Contributor

Add tests for undo/redo and fix #883 and fix #884

Not much more.

@corranwebster corranwebster added the need backport to 7.2 PRs that need to be backported to maint/7.2 label Feb 6, 2021
@rahulporuri rahulporuri self-requested a review February 8, 2021 11:05
Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with two minor comments.

@@ -201,6 +201,9 @@ def push(self, command):

# Do nothing more if the command was merged.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment needs to be updated - or removed - given the recent changes.

pyface/undo/tests/test_command_stack.py Outdated Show resolved Hide resolved
@rahulporuri
Copy link
Contributor

Also, given that the 7.3.0 release is imminent, do we need to backport this PR to the 7.2 maintenance branch for a 7.2.1 bug fix release? We could backport the changes purely in principle, in case someone requests a 7.2.1 specifically and can't use 7.3.0.

@corranwebster
Copy link
Contributor Author

If 7.3 is about to come out, then we don't need to do the backport, but maybe keep the flag on the PR in case for some reason we later need a 7.2.1 release and then we can easily work out what needs to be backported.

corranwebster and others added 2 commits February 9, 2021 18:48
Co-authored-by: Poruri Sai Rahul <rporuri@enthought.com>
@corranwebster corranwebster merged commit 648145c into master Feb 9, 2021
@corranwebster corranwebster deleted the fix/undo-merge-bugs branch February 9, 2021 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need backport to 7.2 PRs that need to be backported to maint/7.2
Projects
None yet
2 participants