-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmdutil: get rid of "clearable" in-progress commands
Summary: Make the interrupted "graft" state no longer trivially clearable by running "goto". "graft" now supports "--abort", so it doesn't need this escape hatch. I also removed clearable for "updatestate" and "updatemergestate" in favor of direct cleanup in the "update" command since the "update" command was the only place we cleared clearable states. This way we no longer have any command that can forcefully exit another command's in-progress state. Reviewed By: quark-zju Differential Revision: D51771498 fbshipit-source-id: 27a0793ab570c07e092d702a3002ed1531fc71a2
- Loading branch information
1 parent
a6e5afa
commit 5fe8e59
Showing
6 changed files
with
15 additions
and
25 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
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