logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dh_dpatch_unpatch - unapply patches listed in debian/patched

Author

       Hideki Yamane <henrich@debian.or.jp>, stolen from dh_quilt_unpatch written by Raphael Hertzog
       <hertzog@debian.org>

perl v5.30.3                                       2020-09-17                               DH_DPATCH_UNPATCH(1)

Description

       dh_dpatch_unpatch simply calls dpatchdeapply-all.  All patches listed in debian/patched are then
       unapplied in the current directory. The command does not fail if the patches have already been unapplied.

Examples

       dh_dpatch_unpatch is usually called indirectly in a rules file via the dh command.

               %:
                       dh --with dpatch $@

       It can also be direcly called in the clean rule.

               clean:
                       dh_testdir
                       dh_testroot
                       [ ! -f Makefile ] || $(MAKE) clean
                       dh_dpatch_unpatch
                       dh_clean

Name

       dh_dpatch_unpatch - unapply patches listed in debian/patched

See Also

debhelper(7), dh(1).

       This program is meant to be used together with debhelper.

Synopsis

dh_dpatch_unpatch [debhelperoptions]

See Also