hg qpop#

pop the current patch off the stack#

hg qpop [-a] [-f] [PATCH | INDEX]

This command is provided by the mq extension.

Without argument, pops off the top of the patch stack. If given a patch name, keeps popping off patches until the named patch is at the top of the stack.

By default, abort if the working directory contains uncommitted changes. With --keep-changes, abort only if the uncommitted files overlap with patched files. With -f/--force, backup and discard changes made to such files.

Return 0 on success.

Options

Every command accepts the global options.

-a

--all

pop all patches

--keep-changes

tolerate non-conflicting local changes

-f

--force

forget any local changes to patched files

--no-backup

do not save backup copies of files