pq: print which patch failed to apply
authorGuido Günther <agx@sigxcpu.org>
Mon, 16 Sep 2013 17:08:33 +0000 (19:08 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 16 Sep 2013 17:12:52 +0000 (19:12 +0200)
gbp/scripts/pq.py

index 6885078..70aabf5 100755 (executable)
@@ -151,6 +151,7 @@ def import_quilt_patches(repo, branch, series, tries, force):
             try:
                 apply_and_commit_patch(repo, patch, maintainer, patch.topic)
             except (GbpError, GitRepositoryError):
+                gbp.log.err("Failed to apply '%s'" % patch.path)
                 repo.set_branch(branch)
                 repo.delete_branch(pq_branch)
                 break