Switch to applying all patches with "patch" and later do a "<vcs> add; <vcs> commit". Also iterate over quilt series files ourselfs and apply the patches one by one. This means we can apply patches on mercurial as well as on git. Signed-off-by: Henning Schild <henning.schild@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>