Skip to content

Conversation

@mitchellwrosen
Copy link
Member

@mitchellwrosen mitchellwrosen commented Oct 21, 2025

Overview

This PR standardizes the wording of failed delete/update/upgrade/merge messages, as suggested in #5894

else Output.CantDoThatDuring "an upgrade" "upgrade"
when projectAndBranch.branch.isUpdate (Cli.returnEarly (Output.CantDoThatDuring "an update" "update"))
when projectAndBranch.branch.isUpgrade (Cli.returnEarly (Output.CantDoThatDuring "an upgrade" "upgrade"))
when projectAndBranch.branch.isUpgrade (Cli.returnEarly (Output.CantDoThatDuring "a merge" "merge"))
Copy link
Member Author

Choose a reason for hiding this comment

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

Small oversight fixed, can't delete during a merge either

@mitchellwrosen mitchellwrosen marked this pull request as ready for review October 27, 2025 15:16
Copy link
Contributor

@aryairani aryairani left a comment

Choose a reason for hiding this comment

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

Awesome; I left one formatting note. Also would you create a megaticket for the various combinations of incompatible operations; e.g. delete during merge.

definitions to scratch.u, where you can fix them up or remove
any that are obsolete.
Once you're happy with the results, use`update`to merge them back intomain,or`cancel`if you change your mind.
Copy link
Contributor

Choose a reason for hiding this comment

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

Some kind of spacing / wrapping issue here

Copy link
Member Author

Choose a reason for hiding this comment

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

Huh!

@mitchellwrosen
Copy link
Member Author

@aryairani Fixed

@aryairani aryairani merged commit 6971031 into trunk Oct 28, 2025
31 checks passed
@aryairani aryairani deleted the 25-10-21-output-messages branch October 28, 2025 20:04
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.

3 participants