pq: listen to 'Gbp-Pq:' commands, too
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 4 Sep 2013 12:53:37 +0000 (15:53 +0300)
committerGuido Günther <agx@sigxcpu.org>
Thu, 31 Oct 2013 18:17:21 +0000 (19:17 +0100)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/scripts/pq.py

index f5618ce..1a15f10 100755 (executable)
@@ -55,6 +55,7 @@ def generate_patches(repo, start, end, outdir, options):
     for commit in rev_list:
         info = repo.get_commit_info(commit)
         cmds = parse_gbp_commands(info, 'gbp', ('ignore'), None)
+        cmds.update(parse_gbp_commands(info, 'gbp-pq', ('ignore'), None))
         if not 'ignore' in cmds:
             format_patch(outdir, repo, info, patches, options.patch_numbers,
                          topic_regex=topic_regex)