add-patch <path to patch>
It can also be used to incorporate new patches. If pointed a patch not already present, it will copy the patch to /debian/patches in the correct format for the patch system in use. Next, the patch is applied and a subshell is opened in order to edit the patch. Typing "exit" or hitting Ctrl-d will close the subshell and launch an an editor to record the debian/changelog entry.
edit-patch is integrated with the bzr and git version control systems. The patch will be automatically added to the tree, and the debian/changelog entry will be used as the commit message.
If no patch system is present, the patch is applied inline, and a copy is stored in debian/patches-applied.
add-patch is the non-interactive version of edit-patch. The patch will be incorporated but no editor or subshell will be spawned.
This manual page was written by Andrew Starr-Bochicchio <email@example.com>.
Both are released under the terms of the GNU General Public License, version 3.