PhpStorm 2019.1 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

Item

Shortcut

Description

Available from

icons actions refresh svg
Reload from file

Ctrl+F5

Use this command to refresh the list of patches from the series file.

Note that when you drag 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 by reloading from file.

Toolbar

mercurial goto
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

moveToOtherChangelist
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

mercurial fold
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

icons actions delete
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

Last modified: 26 July 2019

See Also