Why Is "Revert" Now "Rollback"?
已回答
As long as I can remember the VCS dialog has used the term "revert".
Why has it suddenly changed to "Rollback"?
请先登录再写评论。
The name was changed because Revert caused confusion with `git revert` command.
See https://youtrack.jetbrains.com/issue/IDEA-149015
Is this covered by i18n?
e.g. could I create a new language that extended English but changed this back to revert?
The string is not hard-coded, its a resource.
Here is the commit changing the name https://github.com/JetBrains/intellij-community/commit/375b6a122e89b92098fedc49001d43b5389c9ed2
See also http://www.jetbrains.org/intellij/sdk/docs/reference_guide/localization_guide.html
Why call it Rollback? That implies some database transaction. git has added a `restore` command from version 2.23. I personally would definitely prefer the menu item to be called Restore. It would be easier to find, especially as my eyes are used to looking for Revert and Restore is similar enough.
> Why call it Rollback? That implies some database transaction
Any change can be rolled back, not only a transaction. This term is used in various VCS and tools and is not confused with git revert, that is why it was chosen.
> git has added a `restore` command from version 2.23
It happened in 2.23 only, released in August. The action was renamed to Rollback a month before that.
We'll see to renaming the action again to comply with git.
any update on this?
Please vote/follow https://youtrack.jetbrains.com/issue/IDEA-231212