Apply Patch dialog
Use the dialog to apply changes from a patch file. For details, see Use patches
Tooltip and Shortcut
Patch file name
Specify the name of the *.patch file that you want to apply. Enter the fully qualified name or click Browse and select the patch file in the dialog that opens.
Open the difference viewer that shows the differences between your local working copy, the repository version, and the patch.
Change Directory Paths
Choose how you want directory paths to be displyaed:
Click this button to synchronize the tree with the current state of the file system.
Click to select how you want to group files modified in the patch.
Select an existing changelist or type the name of a new changelist where you want the patch to be added.
Enter a comment to the new changelist.
Select this checkbox to have RubyMine automatically give the active status to the new changelist immediately after the changes are restored in it. When this checkbox is cleared, the current active changelist remains active.
Select this checkbox to have RubyMine preserve the context of the task associated with the new changelist on its deactivation and restore the context when the changelist becomes active. See Manage tasks and contexts for details.
Import to Shelf
Click this button to move the patch contents to a shelf instead of applying it. A new changelist will the patch file be added to the Shelf tab of the Commit tool window Alt+0. You can review the changes and unshelve them when needed.
If the patch cannot be applied without conflicts, conflicting lines are highlighted in red.