hg qqueue

hg qqueue#

manage multiple patch queues#

hg qqueue [OPTION] [QUEUE]

This command is provided by the mq extension.

Supports switching between different patch queues, as well as creating new patch queues and deleting existing ones.

Omitting a queue name or specifying -l/--list will show you the registered queues - by default the "normal" patches queue is registered. The currently active queue will be marked with "(active)". Specifying --active will print only the name of the active queue.

To create a new queue, use -c/--create. The queue is automatically made active, except in the case where there are applied patches from the currently active queue in the repository. Then the queue will only be created and switching will fail.

To delete an existing queue, use --delete. You cannot delete the currently active queue.

Returns 0 on success.

Options

Every command accepts the global options.

-l

--list

list all available queues

--active

print name of active queue

-c

--create

create new queue

--rename

rename active queue

--delete

delete reference to queue

--purge

delete queue, and remove patch dir