Use this dialog box to have a patch file for the specified changelist or files generated.
Toolbar
Item | Tooltip and Shortcut | Description | Available in |
---|---|---|---|
![]() | Show Differences Ctrl+D | Click this button to open the Differences dialog box that points at the inconsistencies between your local working copy of the selected file and the file in the repository. | All VCSs |
![]() | Move to Another Changelist F6 | Click this button to add the selected file(s) to another changelist. The Choose Changelist dialog box opens where you can select an existing changelist or create a new one. | All VCSs |
![]() |
Refresh Changes Ctrl+F5 | Click this button to reload the Changed files tree view so it is up-to-date. | All VCSs |
![]() | Rollback | Click this button to revert all the changes made to the local working copy of the selected file(s). | All VCSs |
![]() | Jump to source F4 | Click this button to open the source code of the selected file in the editor. | All VCSs |
![]() | Revert Unchanged Files | Click this button to revert the files that have not been modified locally. |
Subversion Perforce |
![]() | Group by Directory Ctrl+P | Use this toggle button to switch between the flat view and the directory tree view. | All VCSs |
![]() ![]() | Expand or collapse all nodes Ctrl+NumPad Plus or Ctrl+Equals Ctrl+NumPad - or Ctrl+Minus | Click these buttons to expand or collapse all nodes in the directory tree. These buttons are not available in flat view. | All VCSs |
![]() | Select All Ctrl+A | Click this button to select all the files in the list or directory tree. | All VCSs |
Controls
Item | Description | Available in |
---|---|---|
Changed files | This tree view displays the list of changed files. Select check boxes next to the files to be included in the patch. | All VCSs |
Comment | In this text box, describe the changes to be included in the patch. As you type, PyCharm checks the spelling and highlights words in question.
This functionality is available if the Spelling code inspection is enabled. | |
Change list | From this drop-down list, select the change list that contains the modified files to be included in the patch. By default, the active change list is suggested. | All VCSs |
Summary | This section displays summary statistics on the currently selected change list, such as the number of modified, new, and deleted files. The area also shows how many files of each type are shown and how many of them will be included in the patch. | All VCSs |
Before commit | Use this area to define which additional activities you want PyCharm to perform
before creating a patch based on the changes in the selected files. The available options are:
|
CVS Git, Subversion, Perforce |
After Commit |
Use this area to define which additional activities you want PyCharm to perform
after creating a patch based on the changes in the selected files. The available options are:
| All VCSs |
Create patch | Click this button to type the name of the patch file and specify whether you need a reverse patch generated in the Create Patch dialog box that opens. | All VCSs |