IntelliJ IDEA 2016.3 Help

MQ: <project_name> Tab

View | Tool Windows | Version Control - Log - Context menu of a commit - Mercurial - Goto patch

This tab is only available if your project is under Mercurial version control.

It displays all patches and allows you to manage the Mercurial Queue.

You can drag-and-drop patches in the queue to change the order in which they will be applied.

Toolbar and Context Menu

ItemShortcutDescriptionAvailable from
/help/img/idea/2016.3/refresh.png
Reload from file
Ctrl+F5 Use this command to refresh the list of patches from the series file.

Note that when you drag-and-drop patches in the queue, the corresponding changes in the series file will only be saved when you switch to a different tab, or perform some other external action. This allows you to revert such changes simply by reloading from file.

Toolbar
/help/img/idea/2016.3/mercurial_goto.png
Goto
Shift+Alt+G Use this command to apply the selected patch and all patches above it in the queue. The applied patches will become visible in the Log tab and the changes will be registered in the working copy of the repository. Toolbar
Context menu
/help/img/idea/2016.3/moveToOtherChangelist.png
Move and Push
Shift+Alt+P Use this command to apply the selected patch without applying whatever other patches may be before it in the patch stack. Toolbar
Context menu
/help/img/idea/2016.3/mercurial_fold.png
Fold
Shift+Alt+D Use this command to merge the selected non-applied patch with the topmost applied patch, and remove it from the list. Toolbar
Context menu
/help/img/idea/2016.3/deleteChange.png
Delete
Delete Use this command to delete the selected patch from the series file Toolbar
Apply Patch N/A Use this command to apply the selected patch. The Apply Patch dialog will be displayed where you can select which changes you want to restore. Context menu

See Also

Last modified: 29 November 2016