PhpStorm 2024.3 Help

MQ: 'project_name' Tab

In the Mercurial tool window, in the Log tab, open the context menu of a commit and then 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

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.png

Goto

Alt+Shift+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

Move and Push

Alt+Shift+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.png

Fold

Alt+Shift+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

the Delete button

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 August 2024